CVE-2021-21681 Password stored in plain text by Jenkins Nomad Plugin

Medium 5.5 Published Updated

Attackers with file system access can read unencrypted Docker passwords from the Jenkins controller configuration file.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-21681?

CVE-2021-21681 is a medium-severity vulnerability in Jenkins Nomad Plugin, published on 31 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Jenkins Nomad Plugin 0.7.4 and earlier stores Docker passwords unencrypted in the global config.xml file on the Jenkins controller where they can be viewed by users with access to the Jenkins controller file system.

Weakness: CWE-522

Which versions are affected by CVE-2021-21681?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:nomad. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:nomad MavenAll versions0.7.5
org.jenkins-ci.plugins:nomad MavenAll versions0.7.5

Products include Jenkins Nomad.

How do I fix CVE-2021-21681?

Upgrade org.jenkins-ci.plugins:nomad to 0.7.5 or later.

Is CVE-2021-21681 being exploited?

There is no known exploitation of CVE-2021-21681 in the wild and no public exploit code.

Sources

Also known as GHSA-5c2c-cvg6-ghjm.

Is CVE-2021-21681 in your software?

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

Check your SBOMs for free