{"id":"CVE-2021-21696","published":"2021-11-04T16:30:41Z","modified":"2024-08-03T18:23:29Z","title":"Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not limit agent read/write access to the libs/ directory…","vendor":"Jenkins","product":"Jenkins","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02397,"percentile":0.84405,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/04/3","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":16.88}]},"vendorSlug":"jenkins","affectedVersions":[{"vendor":"Jenkins project","product":"Jenkins","versions":[">= unspecified, <= 2.318",">= unspecified, <= LTS 2.303.2"]}],"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","vulnerableRanges":["<2.303.3",">=2.304, <2.319"],"patched":["2.303.3","2.319"],"from":["GHSA-c5r9-rx53-q3gf"],"provenance":"source"}],"summary":{"text":"Jenkins (product Jenkins, versions 2.318 and earlier and LTS 2.303.2 and earlier) fails to restrict agent read/write access to the libs/ directory inside build directories when using the FilePath APIs. The flaw lets an attacker who controls an agent process replace a trusted library's code with a modified version, which results in unsandboxed code execution in the Jenkins controller process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:40Z"},"euvd":{"id":"EUVD-2022-3513","exploited":false,"provenance":"source"}}