CVE-2017-1000362
Exposure of Sensitive Information to an Unauthorized Actor in Jenkins
Description
The re-key admin monitor was introduced in Jenkins 1.498 and re-encrypted all secrets in JENKINS_HOME with a new key. It also created a backup directory with all old secrets, and the key used to encrypt them. These backups were world-readable and not removed afterwards. Jenkins now deletes the backup directory, if present. Upgrading from before 1.498 will no longer create a backup directory. Administrators relying on file access permissions in their manually created backups are advised to check them for the directory $JENKINS_HOME/jenkins.security.RekeySecretAdminMonitor/backups, and delete it if present.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.main » jenkins-core | >= 1.498, < 2.32.2>= 2.40, < 2.44 | 2.32.2, 2.44 |
Blast radius
37% of the dependent artifacts (28) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 891 |
| 2 hops | 511 |
| 3 hops | 5 |
| 4 hops | 69 |
| 5 hops | 26 |
| 6 hops | 66 |
Most used dependents
- org.jenkins-ci.main » jenkins-test-harness99 usages
- org.jenkins-ci.plugins » job-dsl71 usages
- org.jenkins-ci.main » jenkins-war62 usages
- org.jenkins-ci.main » jenkins-test-harness-tools37 usages
- io.jenkins.blueocean » blueocean-rest-impl12 usages
- org.csanchez.jenkins.plugins » kubernetes11 usages
- io.jenkins.blueocean » blueocean-pipeline-api-impl9 usages
- org.jenkins-ci.lib » xtrigger-lib9 usages
- org.jenkins-ci.plugins » ws-cleanup6 usages
- org.jenkins-ci.plugins » resource-disposer6 usages
- io.jenkins.blueocean » blueocean-events4 usages
- org.jenkins-ci.tests » plugins-compat-tester-model3 usages
- io.jenkins.blueocean » blueocean3 usages
- org.marvelution.jji » jenkins-jira-plugin3 usages
- org.marvelution.jji.testsuite » jenkins-testkit2 usages
Computed from the dependency graph of build 20261202.2045 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2017-1000362 | nvd.nist.gov |
| Package | jenkinsci/jenkins | github.com |
| Web | jenkinsci/jenkins commit 0be33cf | github.com |
| Web | jenkinsci/jenkins commit a572450 | github.com |
| Web | security/advisory/2017-02-01 | jenkins.io |
