jenkinsci/nomad-plugin · Security
Password stored in plain text by Jenkins Nomad Plugin
- GHSA ID
- GHSA-5c2c-cvg6-ghjm
- CVE ID
- CVE-2021-21681
- Severity
- medium
- Published
- Updated
- CVSS
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Description
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.
CWEs
- CWE-256 · Plaintext Storage of a Password
- CWE-522 · Insufficiently Protected Credentials
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21681 ↗
- https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2396 ↗
- http://www.openwall.com/lists/oss-security/2021/08/31/1 ↗
- https://github.com/jenkinsci/nomad-plugin/commit/d45123487d57c0e2a8a6869866b05362f690f511 ↗
- https://github.com/advisories/GHSA-5c2c-cvg6-ghjm ↗