GHSA-g2r3-4g8q-h5rj
Missing authorization 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 does not perform a permission check in an HTTP endpoint.
This allows attackers with Overall/Read permission to enumerate credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.
An enumeration of credentials IDs in Kubernetes Plugin 1.27.4, 1.26.5, 1.25.4.1, and 1.21.6 requires the appropriate permissions.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-2309
- https://github.com/jenkinsci/kubernetes-plugin/commit/f26130149c487b1ef8ece9b7b881739c2f8c6736
- https://github.com/CVEProject/cvelist/blob/381fe967666a5ce01625a7a050427aa4757e3ca6/2020/2xxx/CVE-2020-2309.json
- https://github.com/jenkinsci/kubernetes-plugin
- https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2103