CVE-2021-21696
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Jenkins
PublishedNov 4, 2021
First seenNov 4, 2021
How to fix
Update
- org.jenkins-ci.main:jenkins-core2.303.3, 2.319 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jenkins jenkins | v ≤ 2.303.2, v ≤ 2.318 | — |
| org.jenkins-ci.main:jenkins-coreMaven | v < 2.303.3, 2.304 ≤ v < 2.319 | 2.303.3, 2.319 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.