CVE-2021-21696
Agent-to-controller access control allowed writing to sensitive directory used by Jenkins Pipeline: Shared Groovy Libraries Plugin
8.8
HIGH
CVSS 3.1
EPSS 2.3%
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.
How to fix CVE-2021-21696
To remediate CVE-2021-21696, upgrade the affected package to a fixed version below.
- —upgrade to 2.318.1 or later
- —upgrade to 2.303.3 or later
Is CVE-2021-21696 being exploited?
Low — EPSS is 2.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.318.1
- from 0, < 2.303.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |