CVE-2021-21690
Aliases:GHSA-97c3-w9cr-6qc2BIT-jenkins-2021-21690
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)
high
70/100 CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
0.5% LOW
1% probability 0.00%
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
Agent processes are able to completely bypass file path filtering by wrapping the file operation in an agent file path in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- 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•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.50%• Percentile: 67%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
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-21690
- https://github.com/jenkinsci/jenkins/commit/104c751d907919dd53f5090f84d53c671a66457b
- https://github.com/jenkinsci/jenkins/commit/5a245e42979abe4a26d41727c839521e36cedd74
- https://github.com/jenkinsci/jenkins/commit/63cde2daadc705edf086f2213b48c8c547f98358
- ttps://github.com/jenkinsci/jenkins