CVE-2021-21696: jenkins project jenkins
Vulnerability summary
CVE-2021-21696 is a critical (CVSS 9.8) vulnerability in jenkins project jenkins. EPSS estimates a 2.40% chance of exploitation in the next 30 days, higher than 83.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6Timeline
- 04-11-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
2.40%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
0.00 pp
From 2.40% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Jenkins1 product
- jenkins≤ 2.303.2 | ≤ 2.318
Jenkins project1 product
- jenkins≥ unspecified, ≤ 2.318 | ≥ unspecified, ≤ LTS 2.303.2
Org.jenkins-ci.main1 product
- jenkins-core< 2.303.3 | ≥ 2.304, < 2.319
3 vendors · 3 products
References
5 links- www.openwall.com/lists/oss-security/2021/11/04/3Mailing ListX Refsource MLISTWEBThird Party Advisory
- github.com/jenkinsci/jenkinsPACKAGE