Skip to content
Fencer Vulns
critical 9.8

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 jenkins
    affected: 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.el8
    fixed: vendor fix RHSA-2024:0775
  • Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.426.3.1706515686-3.el8
    fixed: vendor fix RHSA-2024:0778
  • Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.426.3.1706516254-3.el8
    fixed: 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.el8
    not 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

  1. First public exploit (Metasploit auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_read)
  2. Published
  3. Added to CISA KEV
  4. CISA SSVC: exploitation active
  5. 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
  • CWE-27 Path Traversal: 'dir/../../filename'
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Technology feeds

References

Sources

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.