CVE-2021-21690
jenkins: Agent processes are able to completely bypass file path filtering by wrapping the file operation in an agent file path
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Bitnami. Rated lower by Red Hat (high).
Description
Agent processes are able to completely bypass file path filtering by wrapping the file operation in an agent file path 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-21690
- 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-21690
- https://www.cve.org/CVERecord?id=CVE-2021-21690
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455
- ttps://github.com/jenkinsci/jenkins