CVE-2021-21602
mediumpriority · track · 27EPSS 0.023 · 83 %ileEUUSEPSS · scored 2026-10-27
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier allows reading arbitrary files using the file browser for workspaces and archived artifacts by following symlinks.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-vpjm-58cw-r8q5Arbitrary file read vulnerability in workspace browsers in Jenkins2022-05-24ghsa · osvUS
The file browser for workspaces, archived artifacts, and `$JENKINS_HOME/userContent/` follows symbolic links to locations outside the directory being browsed in Jenkins 2.274 and earlier, LTS 2.263.1 and earlier. This allows attackers with Job/Workspace permission and the ability to control workspace contents (e.g., with Job/Configure permission or the ability to change SCM contents) to create symbolic links that allow them to access files outside workspaces using the workspace browser. This issue is caused by an incomplete fix for SECURITY-904 / CVE-2018-1000862 in the [2018-12-08 security advisory](https://www.jenkins.io/security/advisory/2018-12-05/#SECURITY-904). Jenkins 2.275, LTS 2.263.2 no longer supports symlinks in workspace browsers. While they may still exist on the file system, they are no longer shown on the UI, accessible via URLs, or included in directory content downloads. This fix only changes the behavior of the Jenkins UI. Archiving artifacts still behaves as before.
- BIT-jenkins-2021-216022024-03-06vendor · osvUS
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier allows reading arbitrary files using the file browser for workspaces and archived artifacts by following symlinks.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2021-21602cnnvd
- https://packetstormsecurity.com/files/161454/Red-Hat-Security-Advisory-2021-0423-01.htmlcnnvd
- https://packetstormsecurity.com/files/161644/Red-Hat-Security-Advisory-2021-0429-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Jenkins-Core-Plugins-multiple-vulnerabilities-34310cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0191/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0284/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0599cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0772cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan