Vulnerability · Published Nov 4, 2021 · Assigned by jenkins
CVE-2021-21696
Critical 9.8
In plain English
A critical-severity security flaw in Jenkins from Jenkins project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.4%top 15.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | 2.303.3 | GHSA-c5r9-rx53-q3gf |
| Maven | org.jenkins-ci.main:jenkins-core | 2.319 | GHSA-c5r9-rx53-q3gf |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Jenkins project | Jenkins | unspecified – through 2.318unspecified – through LTS 2.303.2 |
References
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423 x_refsource_CONFIRM
- [oss-security] 20211104 Multiple vulnerabilities in Jenkins and Jenkins plugins mailing-list, x_refsource_MLIST