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

EcosystemPackageFixed inAdvisory
Mavenorg.jenkins-ci.main:jenkins-core2.303.3GHSA-c5r9-rx53-q3gf
Mavenorg.jenkins-ci.main:jenkins-core2.319GHSA-c5r9-rx53-q3gf

Affected products (as reported)

VendorProductVersions
Jenkins project Jenkins unspecified – through 2.318unspecified – through LTS 2.303.2

References