Skip to main content
← All vulnerabilities
CVE-2021-21696GHSA-C5R9-RX53-Q3GFBIT-JENKINS-2021-21696

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 wh

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.303.3, 2.319
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Jenkins project Jenkins

    through 2.318; through LTS 2.303.2

  • org.jenkins-ci.main:jenkins-coreMaven

    fixed in 2.303.3

  • org.jenkins-ci.main:jenkins-coreMaven

    From 2.304 · fixed in 2.319

References 2

jenkins.io

openwall.com