CVE-2021-21695Link Following in Jenkins

Severity
8.8HIGHNVD
EPSS
0.5%
top 32.81%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 4
Latest updateMay 24

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages2 packages

NVDjenkins/jenkins< 2.303.3+1
CVEListV5jenkins_project/jenkinsunspecified2.318+1

🔴Vulnerability Details

4
OSV
Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins2022-05-24
GHSA
Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins2022-05-24
GHSA
Improper Access Control in Onionshare2022-01-21
CVEList
CVE-2021-21695: FilePath#listFiles lists files outside directories that agents are allowed to access when following symbolic links in Jenkins 22021-11-04

📋Vendor Advisories

2
Red Hat
jenkins: FilePath#listFiles lists files outside directories with agent read access when following symbolic links.2021-11-04
Jenkins
Jenkins Security Advisory 2021-11-042021-11-04
CVE-2021-21695 — Link Following in Jenkins | cvebase