Skip to main content
ExploitedIn CISA KEVFix available

CVE-2024-23897

Exploitation confirmed. First attested on 2024-01-30 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.

  • Published2024-01-24
  • Fixed in2.442 · 2.440.1 · 2.426.3
  • WeaknessCWE-22 · CWE-27

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-01-2418:15CVE publishedNVD
  2. 2024-01-3006:06Listed as exploited by GCVEGCVE
  3. 2024-01-3006:06Exploitation first reportedGCVE
  4. 2024-04-15Exploit-DB entryExploit-DB
  5. 2024-08-19Added to the CISA KEV catalogCISA KEV
  6. 2024-08-1915:35SSVC exploitation set to activeCISA-ADP

Versions per branch

NVD · OSV
Jenkins
BranchAffectedFixed in
2.442< 2.4422.442
2.x≥ 2.441, < 2.4422.442
2.x≥ 2.427, < 2.440.12.440.1
2.426< 2.426.32.426.3
2.426≥ 1.606, < 2.426.32.426.3
jenkins
BranchAffectedFixed in
2.452< 2.452.12.452.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As jenkins, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Jenkins Project Jenkinsother versions: affected

    Not affected < 1.606 · ≥ 2.442 · ≥ 2.426.3, < 2.426.* · ≥ 2.440.1, < 2.440.*

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-04-15

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jenkinsRed Hat:ocp_tools:4.13::el8all versions · fixed in 0:2.426.3.1706516254-3.el8
  • jenkinsRed Hat:ocp_tools:4.12::el8all versions · fixed in 0:2.426.3.1706515686-3.el8
  • jenkinsRed Hat:ocp_tools:4.11::el8all versions · fixed in 0:2.426.3.1706516929-3.el8
  • jenkins-2-pluginsRed Hat:ocp_tools:4.13::el8all versions · fixed in 0:4.13.1706516346-1.el8
  • jenkins-2-pluginsRed Hat:ocp_tools:4.12::el8all versions · fixed in 0:4.12.1706515741-1.el8
  • jenkins-2-pluginsRed Hat:ocp_tools:4.11::el8all versions · fixed in 0:4.11.1706516946-1.el8

Vendor advisories

  • CVE-2024-23897 Red Hat Product Security6 products fixed · 2 known affected

    jenkins: Arbitrary file read vulnerability through the CLI can lead to RCE

    jenkins as a component of Red Hat OpenShift Container Platform 3.11 · jenkins.src as a component of Red Hat OpenShift Container Platform 3.11

  • RHSA-2024:0775 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: jenkins and jenkins-2-plugins security update

  • RHSA-2024:0778 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Jenkins and Jenkins-2-plugins security update

  • RHSA-2024:0776 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: jenkins and jenkins-2-plugins security update

Full record on NVD

Fix

  1. Update Jenkins to 2.442 · 2.440.1 · 2.426.3
  2. CISA’s required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.due 2024-09-09
  3. Vendor fix Red Hat Product Security RHSA-2024:0775 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  4. Workaround from the vendor Red Hat Product Security RHSA-2024:0775 · 4 productsDisabling access to the CLI is expected to prevent exploitation completely. Doing so is strongly recommended to administrators unable to immediately update to Jenkins 2.442, LTS 2.426.3 or LTS 2.440.1. Applying this workaround does not require a Jenkins restart.
  5. No fix planned, says the vendor Red Hat Product Security CVE-2024-23897 · 2 productsOut of support scope

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
EDB-51993
Exploit-DB
Metasploit modules
1 moduleauxiliary/gather/jenkins_cli_ampersand_arbitrary_file_readrank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

CISA Known Exploited Vulnerability

Date Added
2024-08-19
Patch Due Date
2024-09-09
Ransomware Use
Known
Required Action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2024-01-24
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-6f9g-cxwr-q5jr

Frequently asked questions

What is CVE-2024-23897?

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.

Is CVE-2024-23897 actively exploited?

Yes. CVE-2024-23897 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2024-09-09.

What is the CVSS score for CVE-2024-23897?

CVE-2024-23897 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Jenkins? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record