Link following in Jenkins
Priority MEDIUM 42CWE-59Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-862.
Summary
FilePath#listFiles lists files outside directories that agents are allowed to access when following symbolic links in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.
Why it matters now
EPSS 0.02145 82nd percentileScored 2026-11-07
Fix Fixed org.jenkins-ci.main:jenkins-core (Maven): 2.303.3, 2.319Red Hat: 6 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Jenkins | Jenkins | up to 2.318; up to LTS 2.303.2 | — | No fix listed | CNA |
| — | org.jenkins-ci.main:jenkins-core (Maven) | before 2.303.3 | 2.303.3 | Patch available | GHSA-cvvm-4cr9-r436 |
| — | org.jenkins-ci.main:jenkins-core (Maven) | 2.304 to before 2.319 | 2.319 | Patch available | GHSA-cvvm-4cr9-r436 |
- Jenkins VendorJenkins Affected up to 2.318; up to LTS 2.303.2 Fixed in — No fix listed CNA
- org.jenkins-ci.main:jenkins-core (Maven) Vendor— Affected before 2.303.3 Fixed in 2.303.3 Patch available GHSA-cvvm-4cr9-r436
- org.jenkins-ci.main:jenkins-core (Maven) Vendor— Affected 2.304 to before 2.319 Fixed in 2.319 Patch available GHSA-cvvm-4cr9-r436
Remediation
- Fix · GHSA-cvvm-4cr9-r436 org.jenkins-ci.main:jenkins-core (Maven) Fixed in 2.303.3 Advisory →
- Fix · GHSA-cvvm-4cr9-r436 org.jenkins-ci.main:jenkins-core (Maven) Fixed in 2.319 Advisory →
Red Hat 6 advisories
- RHSA-2022:0055 Released 2022-03-10 · Red Hat rating ModerateOpenShift Container Platform 4.10.3 bug fix and security update
- Red Hat OpenShift Container Platform 4.10 coreos-installer-0.12.0-1.rhaos4.10.el8, coreos-installer-bootinfra-0.12.0-1.rhaos4.10.el8, cri-o-1.23.0-92.rhaos4.10.gitdaab4d1.el7 +11
- RHSA-2021:4827 Released 2021-12-02 · Red Hat rating ImportantOpenShift Container Platform 3.11.569 security update
- Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins-3.11.1637699107-1.el7, jenkins-2.303.3.1637698110-1.el7
- RHSA-2021:4799 Released 2021-12-02 · Red Hat rating ImportantOpenShift Container Platform 4.6.51 packages and security update
- Red Hat OpenShift Container Platform 4.6 jenkins-2-plugins-4.6.1637602169-1.el8, jenkins-2.303.3.1637597493-1.el8
Show 3 more Red Hat advisories
- RHSA-2021:4801 Released 2021-12-01 · Red Hat rating ImportantOpenShift Container Platform 4.7.38 security update
- Red Hat OpenShift Container Platform 4.7 jenkins-2-plugins-4.7.1637600997-1.el8, jenkins-2.303.3.1637597018-1.el8
- RHSA-2021:4829 Released 2021-11-30 · Red Hat rating ImportantOpenShift Container Platform 4.8.22 security update
- Red Hat OpenShift Container Platform 4.8 coreos-installer-0.9.0-8.rhaos4.8.el8, jenkins-2-plugins-4.8.1637599935-1.el8, jenkins-2.303.3.1637596565-1.el8
- RHSA-2021:4833 Released 2021-11-29 · Red Hat rating ImportantOpenShift Container Platform 4.9.9 security update
- Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins-4.9.1637598812-1.el8, jenkins-2.303.3.1637595827-1.el8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | Fixed | RHSA-2021:4827 |
| Red Hat OpenShift Container Platform 4.10 | Fixed | RHSA-2022:0055 |
| Red Hat OpenShift Container Platform 4.6 | Fixed | RHSA-2021:4799 |
| Red Hat OpenShift Container Platform 4.7 | Fixed | RHSA-2021:4801 |
| Red Hat OpenShift Container Platform 4.8 | Fixed | RHSA-2021:4829 |
| Red Hat OpenShift Container Platform 4.9 | Fixed | RHSA-2021:4833 |
Not affected: 7 products
- Red Hat Fuse 7
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4.10
- Red Hat OpenShift Container Platform 4.6
- Red Hat OpenShift Container Platform 4.7
- Red Hat OpenShift Container Platform 4.8
- Red Hat OpenShift Container Platform 4.9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-21695
- 2026-10-03 Alias added: GHSA-cvvm-4cr9-r436
References
Advisory 3
More Jenkins vulnerabilities
- TI-2024-15885 Path traversal in Jenkins KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
- TI-2017-14573 Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and earlier are vulnerable to an… KEVCVSS 3.1CRITICAL 9.8
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2015-04472 The Fingerprints pages in Jenkins before 1.638 and LTS before 1.625.2 might allow remote… KEVCVSS 3.1HIGH 7.5
- TI-2016-07596 The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2021-21695 · CVE Program
- CVE-2021-21695 · NVD
- FIRST EPSS
- GHSA-cvvm-4cr9-r436 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-21695 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences