CVE-2017-1000362 Exposure of Sensitive Information to an Unauthorized Actor in Jenkins
Local attackers can read world-readable backup files containing encryption keys and secrets from the Jenkins home directory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-1000362?
CVE-2017-1000362 is a critical vulnerability in Jenkins Jenkins, published on 13 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2017-1000362?
4 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.main:jenkins-core Maven | From 1.498 | 2.32.2 |
org.jenkins-ci.main:jenkins-core Maven | From 1.498 | 2.32.2 |
org.jenkins-ci.main:jenkins-core Maven | From 2.40 | 2.44 |
org.jenkins-ci.main:jenkins-core Maven | From 2.40 | 2.44 |
Products include Jenkins Jenkins.
How do I fix CVE-2017-1000362?
Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 2.32.2 or 2.44.
Is CVE-2017-1000362 being exploited?
There is no known exploitation of CVE-2017-1000362 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Jenkins
- CVE-2024-23897 Jenkins Command Line Interface (CLI) Path Traversal
- CVE-2018-1000861 Jenkins Stapler Web Framework Deserialization of Untrusted Data
- CVE-2017-1000353 Jenkins Remote Code Execution
- CVE-2015-5317 Jenkins User Interface (UI) Information Disclosure
- CVE-2021-21690 Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins
Sources
Also known as CVE-2017-2605, GHSA-92mr-4w2q-4578.