CVE-2021-21689
jenkins: FilePath#unzip and FilePath#untar were not subject to any access control
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Bitnami. Rated lower by Red Hat (high).
Description
FilePath#unzip and FilePath#untar were not subject to any agent-to-controller access control in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | jenkins | 2.319.0 |
| maven::GitHub Security Advisory Maven | org.jenkins-ci.main:jenkins-core | 2.303.3, 2.319 |
References
- https://access.redhat.com/security/cve/CVE-2021-21689
- https://github.com/jenkinsci/jenkins
- https://github.com/jenkinsci/jenkins/commit/104c751d907919dd53f5090f84d53c671a66457b
- https://github.com/jenkinsci/jenkins/commit/5a245e42979abe4a26d41727c839521e36cedd74
- https://github.com/jenkinsci/jenkins/commit/63cde2daadc705edf086f2213b48c8c547f98358
- https://nvd.nist.gov/vuln/detail/CVE-2021-21689
- https://www.cve.org/CVERecord?id=CVE-2021-21689
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455