CVE-2021-21696
publishedjenkins: Agent-to-controller access control allowed writing to sensitive directory used by Pipeline: Shared Groovy Libraries Plugin
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Jenkins project | — | Jenkinsunspecified through 2.318 · unspecified through LTS 2.303.2 | Affected | Not stated | jenkins |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Jenkins project | Jenkins | unspecified through 2.318 (affected · custom)unspecified through LTS 2.303.2 (affected · custom) | jenkins · cna |
Weaknesses
0No weakness assertions.
References
2- [oss-security] 20211104 Multiple vulnerabilities in Jenkins and Jenkins plugins http://www.openwall.com/lists/oss-security/2021/11/04/3
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423
Provider assertions
2jenkins · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9e27c693d018a297f214d70e92c47efcd8aaa547c9177954734b207a506efd54
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record