CVE-2021-21681 Password stored in plain text by Jenkins Nomad Plugin
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:nomad Maven | All versions | 0.7.5 |
org.jenkins-ci.plugins:nomad Maven | All versions | 0.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.
Other vulnerabilities in Jenkins Nomad Plugin
Sources
Also known as GHSA-5c2c-cvg6-ghjm.