Vulnerability record

CVE-2024-23897

Jenkins Command Line Interface (CLI) Path Traversal Vulnerability

Severity: CriticalExploitation: Exploitation confirmedCISA KEV Used by ransomware
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Jenkins Command Line Interface (CLI), fix it now.

CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

US federal civilian agencies must remediate by Sep 9, 2024.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

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.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
JenkinsJenkins< 2.426.3; < 2.4422.426.3; 2.442NVD
Jenkins Command Line Interface (CLI)Jenkins——KEV

Sources: NVD = NIST National Vulnerability Database; KEV = CISA Known Exploited Vulnerabilities catalog.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2024-23897 scored CVSS 9.8: Jenkins Jenkins Command Line Interface (CLI), Jenkins Command Line Interface (CLI) Path Traversal Vulnerability

    CISA lists this as exploited in the wild and known to be used in ransomware campaigns. Unpatched Jenkins Command Line Interface (CLI) systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • jenkins.io https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-23897
  • packetstormsecurity.com http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html
  • packetstormsecurity.com http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html
  • openwall.com http://www.openwall.com/lists/oss-security/2024/01/24/6
  • sonarsource.com https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/
  • vicarius.io https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897