medium5.5
CVE-2021-21681
Password stored in plain text by Jenkins Nomad Plugin
Impact
Jenkins Nomad Plugin 0.7.4 and earlier stores the passwords to authenticate against the Docker registry unencrypted in the global `config.xml` file on the Jenkins controller as part of its worker templates configuration. These passwords can be viewed by users with access to the Jenkins controller file system. Jenkins Nomad Plugin 0.7.5 stores the Docker passwords encrypted. This change is effective after Jenkins restarts.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:nomad | <= 0.7.4 | 0.7.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Nomad | through 0.7.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2021/08/31/1
- https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2396
- https://github.com/advisories/GHSA-5c2c-cvg6-ghjm
- https://nvd.nist.gov/vuln/detail/CVE-2021-21681
- https://github.com/jenkinsci/nomad-plugin/commit/d45123487d57c0e2a8a6869866b05362f690f511