CVE-2021-21686
Aliases:GHSA-4g38-hrm4-rg94BIT-jenkins-2021-21686
Advisory lineage Upstream: 0 Downstream: 5
Modified
Published: 04 Nov 2021, 16:30
Last modified:03 Aug 2024, 18:23
Vulnerability Summary
Overall Risk (default)
medium
33/100 CVSS Score
8.1 HIGH
v3.1 (nvd)
EPSS Score
0.51% LOW
1% probability +0.23%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
04 Nov 2021, 16:30
Published
Vulnerability first disclosed
03 Aug 2024, 18:23
Last Modified
Vulnerability information updated
Description
File path filters in the agent-to-controller security subsystem of Jenkins 2.318 and earlier, LTS 2.303.2 and earlier do not canonicalize paths, allowing operations to follow symbolic links to outside allowed directories.
CVSS Metrics
- v3.1•HIGH•Score: 8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- v3.1•CRITICAL•Score: 9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 5.8AV:N/AC:M/Au:N/C:P/I:P/A:N
EPSS Trends
Current EPSS score: 0.51%• Percentile: 67%
Techniques & Countermeasures
- CWE-59•Improper Link Resolution Before File Access ('Link Following')
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected Systems
- jenkins project•jenkins
≥ unspecified, ≤ 2.318 | ≥ unspecified, ≤ LTS 2.303.2
- Unknown•Jenkins
< 2.303.3 | < 2.319
- org.jenkins-ci.main•jenkins-core
< 2.303.3 | ≥ 2.304, < 2.319
References (6)
- https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455
- https://nvd.nist.gov/vuln/detail/CVE-2021-21686
- https://github.com/jenkinsci/jenkins/commit/104c751d907919dd53f5090f84d53c671a66457b
- https://github.com/jenkinsci/jenkins/commit/5a245e42979abe4a26d41727c839521e36cedd74
- https://github.com/jenkinsci/jenkins/commit/63cde2daadc705edf086f2213b48c8c547f98358
- https://github.com/jenkinsci/jenkins