VDB

CVE-2024-23897

CVE-2024-23897 PUBLISHED CVSS 9.300000190734863 CRITICAL

Arbitrary file read vulnerability through the Jenkins CLI can lead to RCE

Reported by jenkins · Published January 24, 2024

jenkins-core is fixed in 2.442, 2.441, 2.440.1 and 1 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.jenkins-ci.main:jenkins-coreMaven Central2.442, 2.441, 2.440.1, 2.426.3
jenkinsWolfi2.442-r0
jenkinsChainguard2.442-r0
jenkinsBitnami2.452.1
jenkinsAlpine2.426.3-r0
jenkinsjenkins2.442, 2.441, 2.427, 2.426.3, 1.606
JenkinsJenkins Project1.606
jenkinsBitnami2.452.1

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
Jenkins ProjectJenkins0, 2.442, 2.426.3
wolfijenkins0
chainguardjenkins0
Mavenorg.jenkins-ci.main:jenkins-core2.427, 1.606, 2.441
chainguardjenkins-2.440*
Jenkins ProjectJenkins2.440.1, 0, 2.442
jenkinsjenkins0, 2.440.1, 2.426.3
alpinejenkins0

Timeline

  • Jan 24, 2024 Metasploit Module
  • Jan 24, 2024 CVE Published
  • Jan 26, 2024 VulnCheck XDB Entry (56 in total, the first dated here)
  • Jan 28, 2024 Nuclei Template
  • Jan 28, 2024 Fix Commit
  • Jan 29, 2024 PoC Published (29 in total, the first dated here)
  • Jan 30, 2024 VulnCheck KEV Exploitation (489 in total, the first dated here)
  • Jan 31, 2024 EPSS Score (30 in total, the first dated here)
  • Aug 19, 2024 CISA KEV Added
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 14, 2026 CrowdSec Sighting (6 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-23897
vulnetix vdb fixes CVE-2024-23897

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23897/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›