CVE-2020-2160: Cross-Site Request Forgery in Jenkins
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.48558%
CWE
Published
5/24/2022
Updated
3/12/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.main:jenkins-core | maven | <= 2.204.5 | 2.204.6 |
org.jenkins-ci.main:jenkins-core | maven | >= 2.205, <= 2.227 | 2.228 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from inconsistent URL path handling between CSRF protection logic (CrumbFilter/CrumbExclusion
) and the Stapler framework. The commit diff shows the fix introduced a Security1774ServletRequest
wrapper to align path processing with Stapler's canonicalization. The original CrumbExclusion.process
and CrumbFilter.doFilter
methods were vulnerable because they operated on raw paths, allowing attackers to exploit path normalization differences. The added SuspiciousRequestFilter
and test cases further confirm the attack vector involved semicolons in paths, which these functions failed to handle correctly before the patch.