Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/ssh-credentials
PACKAGECVE-2018-1000601 is a MODERATE (CVSS 6.5) exposure of sensitive information to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Ssh credentials libraries in the Maven ecosystem. The issue involves exposure of sensitive information to an unauthorized actor in jenkins ssh credentials plugin. Remediation is available by upgrading affected packages to version 1.14, 2.1.17.
pkg:maven/org.jenkins-ci.plugins/ssh-credentials
Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/ssh-credentials. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cwcf-5m5w-mq2w | CVE-2018-1000601 | MODERATE | Exposure of Sensitive Information to an Unauthorized Actor in Jenkins SSH Credentials Plugin |
CVE-2018-1000601 at a Glance
Security Impact
CVSS: 6.5
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:H/I:N/A:N).
How to Fix CVE-2018-1000601
To remediate this vulnerability, upgrade all affected Ssh 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>ssh-credentials</artifactId>
<version>1.14</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>credentials</artifactId>
<version>2.1.17</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-2018-1000601, 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 Ssh credentials in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.14), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Ssh 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-2018-1000601 Affected Ssh credentials Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jenkins-ci.plugins:ssh-credentials
|
Maven |
< 1.14
|
1.14
|
|
org.jenkins-ci.plugins:credentials
|
Maven |
< 2.1.17
|
2.1.17
|
References
Frequently Asked Questions
What is CVE-2018-1000601?
Which Ssh credentials versions are affected?
What version fixes CVE-2018-1000601?
Is ssh-credentials affected?
Is credentials affected?
What is the CVSS score of CVE-2018-1000601?
What CWE is associated with CVE-2018-1000601?
How can I check Maven dependencies for CVE-2018-1000601?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cwcf-5m5w-mq2w",
"modified" : "2022-06-30T16:23:28Z",
"published" : "2022-05-14T03:07:03Z",
"aliases" : [ "CVE-2018-1000601" ],
"summary" : "Exposure of Sensitive Information to an Unauthorized Actor in Jenkins SSH Credentials Plugin",
"details" : "A arbitrary file read vulnerability exists in Jenkins SSH Credentials Plugin 1.13 and earlier in BasicSSHUserPrivateKey.java that allows attackers with a Jenkins account and the permission to configure credential bindings to read arbitrary files from the Jenkins master file system.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.plugins:ssh-credentials"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.14"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.13"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.plugins:credentials"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.17"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000601"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/credentials-plugin/commit/23fbd6de33cc3cb74eafd44e7b27dd87b52c8904"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/ssh-credentials-plugin/commit/18b3121fa94a174064447d637dc11539e33b3a76"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/ssh-credentials-plugin"
}, {
"type" : "WEB",
"url" : "https://github.com/jenkinsci/ssh-credentials-plugin/commits/ssh-credentials-1.14"
}, {
"type" : "WEB",
"url" : "https://jenkins.io/security/advisory/2018-06-25/#SECURITY-440"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-30T16:23:28Z",
"nvd_published_at" : "2018-06-26T17:29:00Z"
}
}