CVE-2017-1000362 Exposure of Sensitive Information to an Unauthorized Actor in Jenkins

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
org.jenkins-ci.main:jenkins-core MavenFrom 1.4982.32.2
org.jenkins-ci.main:jenkins-core MavenFrom 1.4982.32.2
org.jenkins-ci.main:jenkins-core MavenFrom 2.402.44
org.jenkins-ci.main:jenkins-core MavenFrom 2.402.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.

All Jenkins Jenkins vulnerabilities

Sources

Also known as CVE-2017-2605, GHSA-92mr-4w2q-4578.

Is CVE-2017-1000362 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free