High severityNVD Advisory· Published Nov 4, 2021· Updated Aug 3, 2024
CVE-2021-21696
CVE-2021-21696
Description
Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not limit agent read/write access to the libs/ directory inside build directories when using the FilePath APIs, allowing attackers in control of agent processes to replace the code of a trusted library with a modified variant. This results in unsandboxed code execution in the Jenkins controller process.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.jenkins-ci.main:jenkins-coreMaven | < 2.303.3 | 2.303.3 |
org.jenkins-ci.main:jenkins-coreMaven | >= 2.304, < 2.319 | 2.319 |
Affected products
3- osv-coords2 versions
< 2.318.1+ 1 more
- (no CPE)range: < 2.318.1
- (no CPE)range: < 2.303.3
- Range: unspecified
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-c5r9-rx53-q3gfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-21696ghsaADVISORY
- www.openwall.com/lists/oss-security/2021/11/04/3ghsamailing-listx_refsource_MLISTWEB
- github.com/jenkinsci/jenkins/commit/93451e20c20cfd84badeb0f37c38d4c0c7a5dad3ghsaWEB
- www.jenkins.io/security/advisory/2021-11-04/ghsax_refsource_CONFIRMWEB
News mentions
1- Jenkins Security Advisory 2021-11-04Jenkins Security Advisories · Nov 4, 2021