CVEvulnerability
CVE-2021-21696
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-11-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
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 configurations
• jenkins jenkins (<= 2.303.2)
• jenkins jenkins (<= 2.318)
References
- http://www.openwall.com/lists/oss-security/2021/11/04/3 Mailing List, Third Party Advisory
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423 Mitigation, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2021/11/04/3 Mailing List, Third Party Advisory
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423 Mitigation, Vendor Advisory