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—
ProductJenkins
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

ProductAffected versionsFixed in
jenkins jenkinsv ≤ 2.303.2, v ≤ 2.318—
org.jenkins-ci.main:jenkins-coreMavenv < 2.303.3, 2.304 ≤ v < 2.3192.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.

CVE-2021-21696 · Jenkins · Dark Radar