CVE-2024-23897
CONFIRMED EXPLOITEDKNOWN RANSOMWARE CAMPAIGN USEJenkins Command Line Interface (CLI) Path Traversal Vulnerability
Is Jenkins Jenkins Command Line Interface (CLI) affected by CVE-2024-23897?
Jenkins Jenkins Command Line Interface (CLI) is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2024-23897, added on 2024-08-19. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (2 vulnerable CPE entries): jenkins jenkins.
Published CPE version bounds mark releases below 2.442 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2024-09-09, and CISA records known ransomware campaign use against it.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2017-1000353Same vendorJenkins Jenkins
Jenkins Remote Code Execution Vulnerability
- CVE-2015-5317Same vendorJenkins Jenkins User Interface (UI)
Jenkins User Interface (UI) Information Disclosure Vulnerability
- CVE-2019-1003029Same vendorJenkins Script Security Plugin
Jenkins Script Security Plugin Sandbox Bypass Vulnerability
- CVE-2019-1003030Same vendorJenkins Matrix Project Plugin
Jenkins Matrix Project Plugin Remote Code Execution Vulnerability
- CVE-2024-28986Neighboring entrySolarWinds Web Help Desk
SolarWinds Web Help Desk Deserialization of Untrusted Data Vulnerability
- CVE-2021-31196Neighboring entryMicrosoft Exchange Server
Microsoft Exchange Server Information Disclosure Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Jenkins Command Line Interface (CLI) contains a path traversal vulnerability that allows attackers limited read access to certain files, which can lead to code execution.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable a feature of its CLI command parser that replaces an '@' character followed by a file path in an argument with the file's contents, allowing unauthenticated attackers to read arbitrary files on the Jenkins controller file system.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2024-08-19. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Known".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Jenkins Command Line Interface (CLI) has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Jenkins Jenkins Command Line Interface (CLI)): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Path Traversal (CWE-22): inspect service access logs and filesystem audit trails (`auditd`, Wazuh FIM) for directory traversal sequences (`../`, `%2e%2e%2f`) or unexpected file writes.
- Inventory all hosts running Jenkins Jenkins Command Line Interface (CLI) and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.htmlThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.htmlExploitThird Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2024/01/24/6Mailing List
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314Vendor Advisory
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ExploitPress/Media Coverage
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.htmlThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.htmlExploitThird Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2024/01/24/6Mailing List
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314Vendor Advisory
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ExploitPress/Media Coverage
- https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1ExploitThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine