Vulnerability
CVE-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 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.
7 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
GHSA-c5r9-rx53-q3gf
Agent-to-controller access control allowed writing to sensitive directory used by Jenkins Pipeline: Shared Groovy Libraries Plugin
-
RHSA-2021:4799
Red Hat Security Advisory: OpenShift Container Platform 4.6.51 packages and security update
-
RHSA-2021:4801
Red Hat Security Advisory: OpenShift Container Platform 4.7.38 security update
-
RHSA-2021:4827
Red Hat Security Advisory: OpenShift Container Platform 3.11.569 security update
-
RHSA-2021:4829
Red Hat Security Advisory: OpenShift Container Platform 4.8.22 security update
-
RHSA-2021:4833
Red Hat Security Advisory: OpenShift Container Platform 4.9.9 security update
-
RHSA-2022:0055
Red Hat Security Advisory: OpenShift Container Platform 4.10.3 bug fix and security update