Known exploited vulnerability
CVE-2024-23897
The short answer
CVE-2024-23897 affects Jenkins Project Jenkins and is rated critical (CVSS 9.8). CISA added it to the Known Exploited Vulnerabilities catalog on 2024-08-19: attackers are using it, so patch it first. Fixed versions are published for jenkins-core (2.426.3, 2.440.1, 2.442).
What it is
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.
Severity
9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploited (CISA KEV)
Yes, since Aug 19, 2024
Federal due date Sep 9, 2024
EPSS, next 30 days
100%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says to do
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Affected packages and fixed versions
| Package | Ecosystem | Fixed in | Advisory |
|---|---|---|---|
| org.jenkins-ci.main:jenkins-core | Maven | 2.426.3, 2.440.1, 2.442 | GHSA-6f9g-cxwr-q5jr |
Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.
Affected products
Jenkins, jenkins. NVD's record lists the exact affected versions.
References
- www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314 Vendor Advisory
- www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ ExploitPress/Media Coverage
- www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314 Vendor Advisory
- www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/ ExploitPress/Media Coverage
- www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1 ExploitThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897 US Government Resource
Questions
Is CVE-2024-23897 being exploited?
Yes. CISA added CVE-2024-23897 to its Known Exploited Vulnerabilities catalog on 2024-08-19, with a federal remediation due date of 2024-09-09. CISA lists it as used in ransomware campaigns.
How do I fix CVE-2024-23897?
Upgrade to a fixed version: org.jenkins-ci.main:jenkins-core (Maven) 2.426.3 or 2.440.1 or 2.442. CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
Jenkins exploited vulnerabilities
Everything CISA lists as exploited for Jenkins.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.