GitHub Advisoryadvisory · Maven
GHSA-7ff8-qfwx-8gx5 Improper masking of some secrets in Jenkins Credentials Binding Plugin
LOW
Official page ↗
- Aliases
- CVE-2020-2182
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:credentials-binding
- Severity
- Low
- CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-522
- Reviewed
- 2022-06-24
Affected packages
• Maven org.jenkins-ci.plugins:credentials-binding: < 1.23 → fixed in 1.23
Description
Credentials Binding Plugin allows specifying passwords and other secrets as environment variables, and will hide them from console output in builds. As a side effect of the fix for SECURITY-698, `$` characters in secrets are escaped to `$$`. This will then be expanded to $ again once the secret is passed to (post) build steps.
Credentials Binding Plugin 1.22 and earlier does not mask the escaped form of the secret (containing `$$`). This occurs for example in the \"Execute Maven top-level targets\" build step included in Jenkins.\n\nCredentials Binding Plugin 1.23 now masks secrets both in their original form and with escaped `$` characters, so they will be masked even if printed before value expansion.
Related
Alias · CVE (1)
- CVE-2020-2182 Jenkins Credentials Binding Plugin 1.22 and earlier does not mask (i.e., replace with asterisks) secrets containing a `$` character in some… vulnerability
Weakness · CWE (1)
- CWE-522 Insufficiently Protected Credentials weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-2182 advisory
- https://github.com/jenkinsci/credentials-binding-plugin/commit/77681e0d184b0ccafa2a27da3b3bdbba95b4fe8f web
- https://github.com/jenkinsci/credentials-binding-plugin package
- https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1835 web
- http://www.openwall.com/lists/oss-security/2020/05/06/3 web