CVE-2020-2162: Improper Neutralization of Input During Web Page Generation in Jenkins
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.61471%
CWE
Published
5/24/2022
Updated
12/13/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.main:jenkins-core | maven | <= 2.204.5 | 2.228 |
org.jenkins-ci.main:jenkins-core | maven | >= 2.204.6, <= 2.227 | 2.228 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows the vulnerability was addressed by adding CSP header handling directly in FileParameterValue.java
's doDynamic
method. This method handles file parameter serving and previously lacked security headers. The test cases verify CSP header behavior specifically for this endpoint, confirming this is the execution path for serving vulnerable file parameters. The advisory explicitly states file parameters weren't covered by existing CSP protections that applied to other file-serving mechanisms.