GitHub Advisory Database
GHSA-cwcf-5m5w-mq2w
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:ssh-credentials | All versions before 1.14 (fixed in 1.14) |
| Maven | org.jenkins-ci.plugins:credentials | All versions before 2.1.17 (fixed in 2.1.17) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000601
- https://github.com/jenkinsci/credentials-plugin/commit/23fbd6de33cc3cb74eafd44e7b27dd87b52c8904
- https://github.com/jenkinsci/ssh-credentials-plugin/commit/18b3121fa94a174064447d637dc11539e33b3a76
- https://github.com/jenkinsci/ssh-credentials-plugin
- https://github.com/jenkinsci/ssh-credentials-plugin/commits/ssh-credentials-1.14
- https://jenkins.io/security/advisory/2018-06-25/#SECURITY-440