CVE-2019-10320: Credentials Insertion Of Sensitive Information Into Vulnerability
MODERATECVE-2019-10320 is a MODERATE (CVSS 4.3) insertion of sensitive information into vulnerability (CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory) affecting Credentials libraries in the Maven ecosystem. The issue involves insertion of sensitive information into externally-accessible file or directory in jenkins credentials plugin. Remediation is available by upgrading affected packages to version 2.1.19.
CVE-2019-10320 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2019-10320
To remediate this vulnerability, upgrade all affected Credentials dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>credentials</artifactId>
<version>2.1.19</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2019-10320, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins
Analyze the terminal output to locate any version of Credentials in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.19), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory, where the product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information. In Credentials, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-10320 Affected Credentials Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jenkins-ci.plugins:credentials
|
Maven |
< 2.1.19
|
2.1.19
|
References
Frequently Asked Questions
What is CVE-2019-10320?
Which Credentials versions are affected?
What version fixes CVE-2019-10320?
Is credentials affected?
What is the CVSS score of CVE-2019-10320?
What CWE is associated with CVE-2019-10320?
How can I check Maven dependencies for CVE-2019-10320?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xm94-9jw8-p6hw",
"modified" : "2022-06-28T23:09:37Z",
"published" : "2022-05-24T16:46:09Z",
"aliases" : [ "CVE-2019-10320" ],
"summary" : "Insertion of Sensitive Information into Externally-Accessible File or Directory in Jenkins Credentials Plugin",
"details" : "Jenkins Credentials Plugin 2.1.18 and earlier allowed users with permission to create or update credentials to confirm the existence of files on the Jenkins master with an attacker-specified path, and obtain the certificate content of files containing a PKCS#12 certificate.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.plugins:credentials"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.19"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.1.18"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10320"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/credentials-plugin/commit/40d0b5cc53c265b601ffaa4469310fad390a80fb"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHBA-2019:1605"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:1636"
}, {
"type" : "WEB",
"url" : "https://jenkins.io/security/advisory/2019-05-21/#SECURITY-1322"
}, {
"type" : "WEB",
"url" : "https://wwws.nightwatchcybersecurity.com/2019/05/23/exploring-the-file-system-via-jenkins-credentials-plugin-vulnerability-cve-2019-10320"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2019/May/39"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2019/05/21/1"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/108462"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-538" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-28T23:09:37Z",
"nvd_published_at" : "2019-05-21T13:29:00Z"
}
}