CVE-2018-1999002: Improper Input Validation in Jenkins
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.99795%
CWE
Published
5/13/2022
Updated
12/18/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.main:jenkins-core | maven | < 2.121.2 | 2.121.2 |
org.jenkins-ci.main:jenkins-core | maven | >= 2.122, < 2.132 | 2.132 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input validation when handling locale parameters in HTTP requests to access files. The Stapler framework's resource resolution in the 'open' method used unvalidated locale components to build file paths, allowing path traversal. The patch adds regex validation for language, country, and variant fields, confirming the vulnerability was in this function
. The test cases in Security914Test.java
validate()
that crafted Accept-Language headers can no longer traverse directories, further confirming this as the attack vector.