CVE-2024-23897 kev+ ransomware in the critical feed json
Arbitrary file read vulnerability through the Jenkins CLI can lead to RCE
published 2024-01-24 2 y ago modified 2026-09-08 2 mo ago also BIT-jenkins-2024-23897 , EUVD-2024-0270 , GHSA-6f9g-cxwr-q5jr
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Exploited
- added 2024-08-19, used in ransomware
- epss
- 100.0%
- EPSS 100.0% chance of exploitation in 30 days, percentile 99.9%
- public exploits
- 2
- Metasploit, Exploit-DB, plus a Nuclei check
Summary
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.
Patch / fix
cisa required action Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- maven org.jenkins-ci.main:jenkins-core 2.426.3, 2.440.1, 2.442
- bitnami jenkins 2.452.1
- Jenkins Project Jenkins 2.442
- jenkins jenkins 2.442
- jenkins ocp tools 4.11 2.426.3.1706516929-3.el8
- jenkins-2-plugins ocp tools 4.11 4.11.1706516946-1.el8
- jenkins ocp tools 4.12 2.426.3.1706515686-3.el8
- jenkins-2-plugins ocp tools 4.12 4.12.1706515741-1.el8
- jenkins ocp tools 4.13 2.426.3.1706516254-3.el8
- jenkins-2-plugins ocp tools 4.13 4.13.1706516346-1.el8
red hat advisories RHSA-2024:0775RHSA-2024:0778RHSA-2024:0776
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-23897 updated cvss 9.8
jenkins: Arbitrary file read vulnerability through the CLI can lead to RCE
-
Red Hat OpenShift Container Platform 3.11 jenkinsaffected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins 2.426.3.1706516929-3.el8fixed: vendor fix RHSA-2024:0775
-
Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.426.3.1706515686-3.el8fixed: vendor fix RHSA-2024:0778
-
Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.426.3.1706516254-3.el8fixed: vendor fix RHSA-2024:0776
-
Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins-2-plugins 4.11.1706516946-1.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins 4.12.1706515741-1.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1706516346-1.el8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_read)
- Published
- Added to CISA KEV
- CISA SSVC: exploitation active
- CISA patch deadline
Known exploited
- Added
- 2 y ago
- Patch by
- 2024-09-09 (2 y ago)
- Ransomware
- Known to be used in ransomware campaigns
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Vendor, product
- Jenkins, Jenkins Command Line Interface (CLI)
- CISA name
- Jenkins Command Line Interface (CLI) Path Traversal Vulnerability
Ransomware
Groups reported to have exploited it in intrusions.
- RansomEXX ransomware gang
reported by blogs.juniper.netcloudsek.com
Ransomware Vulnerability Matrix by BushidoUK (github.com/BushidoUK/Ransomware-Vulnerability-Matrix), reformatted per CVE. CC BY 4.0
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
100.00% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_read Jenkins cli Ampersand Replacement Arbitrary File Read metasploit auxiliary, normal rank, 2024-01-24
- EDB-51993 Jenkins 2.441 - Local File Inclusion webapps, 2024-04-15
- Nuclei template Jenkins < 2.441 - Arbitrary File Read nuclei detection template
- sonarsource.com https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html referenced PoC, tagged "exploit" by a source, unverified
- vicarius.io https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.main:jenkins-core | >=1.606, <2.426.3 >=2.427, <2.440.1 >=2.441, <2.442 |
2.426.3 2.440.1 2.442 |
| bitnami | jenkins | <2.452.1 |
2.452.1 |
Affected products
- Jenkins Project Jenkins
- jenkins jenkins
Classification
- Weakness
- Technology feeds
References
-
github.com
/jenkinsci/jenkins/commit/554f03782057c499c49bbb06575f0d28b5200edb
web
-
sonarsource.com
/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/
exploit, press/media-coverage, evidence
-
packetstormsecurity.com
/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html
web, exploit, third-party-advisory, vdb-entry, advisory
-
vicarius.io
/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1
web, exploit, third-party-advisory, advisory
-
jenkins.io
/security/advisory/2024-01-24/#SECURITY-3314
vendor-advisory, web, advisory
-
openwall.com
/lists/oss-security/2024/01/24/6
web, mailing-list, discussion
-
packetstormsecurity.com
/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html
web, third-party-advisory, vdb-entry, advisory
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897
government-resource, web, us-government-resource
-
nvd.nist.gov
/vuln/detail/CVE-2024-23897
advisory, web
-
github.com
/jenkinsci/jenkins
package
-
jenkins.io
/changelog-stable/#v2.440.1
web
-
sonarsource.com
/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins
web
Sources
- CVE List CVE-2024-23897
- GitHub Advisory GHSA-6f9g-cxwr-q5jr
- NVD CVE-2024-23897
- OSV BIT-jenkins-2024-23897
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.