GHSA-fh5w-p2j4-4p8x
Exposure of Sensitive Information to an Unauthorized Actor in Jenkins Kubernetes Plugin
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.csanchez.jenkins.plugins:kubernetes | >= 1.27.0, < 1.27.4 | 1.27.4 |
| Maven | org.csanchez.jenkins.plugins:kubernetes | >= 1.26.0, < 1.26.5 | 1.26.5 |
| Maven | org.csanchez.jenkins.plugins:kubernetes | >= 1.22.0, < 1.25.4.1 | 1.25.4.1 |
| Maven | org.csanchez.jenkins.plugins:kubernetes | < 1.21.6 | 1.21.6 |
Details
As written in the advisory (Markdown source, shown as plain text).
Jenkins Kubernetes Plugin prior to 1.27.4, 1.26.5, 1.25.4.1, and 1.21.6 includes a feature to replace placeholders in pod template and container template fields with environment variable values.
This feature allows low-privilege users to access possibly sensitive Jenkins controller environment variables.
Kubernetes Plugin 1.27.4, 1.26.5, 1.25.4.1, and 1.21.6 disables this feature.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-2307
- https://github.com/jenkinsci/kubernetes-plugin/commit/8dadc2168b108eb45c68037fa941d2594da46d79
- https://github.com/CVEProject/cvelist/blob/381fe967666a5ce01625a7a050427aa4757e3ca6/2020/2xxx/CVE-2020-2307.json
- https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-1646