CVE-2024-23897 · Known exploited vulnerability

CVE-2024-23897: Jenkins Command Line Interface (CLI) Command Line Interface (CLI) Path Traversal

Actively exploited (CISA KEV)Ransomware use: Known

Summary

CVE-2024-23897 is a command line interface (CLI) path traversal vulnerability in Jenkins Command Line Interface (CLI), rated critical severity with a CVSS base score of 9.8.

CISA added it to the Known Exploited Vulnerabilities catalogue on 19 August 2024, which means there is reliable evidence that attackers have exploited it and it is known to have been used in ransomware campaigns.

It can be exploited remotely over a network without needing an account.

Jenkins Command Line Interface (CLI) contains a path traversal vulnerability that allows attackers limited read access to certain files, which can lead to code execution.
CISA catalogue description

Key facts

Affected product
Jenkins · Jenkins Command Line Interface (CLI)
CVSS severity
Critical9.8CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation likelihood, next 30 days)
99.99%Higher than 99.9% of all scored CVEs
Weakness (CWE)
CWE-27
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

CISA required action

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

What UK organisations should do

01 Patch or mitigate

  • Follow the vendor's advisory. Where no fix is available, apply the published mitigations or take the affected component offline.
  • CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. CISA set a remediation due date of 9 September 2024 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run Jenkins Command Line Interface (CLI) anywhere, including systems managed by suppliers or cloud providers.
  • Check whether the affected web interface is internet-facing, and rotate any credentials or keys stored in files the service can read.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Search web server logs for requests containing directory traversal sequences such as ../ and encoded variants.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

More from Jenkins

  • CVE-2017-1000353

    Jenkins

    Remote Code Execution

    Critical9.8
  • CVE-2015-5317

    Jenkins User Interface (UI)

    User Interface (UI) Information Disclosure

    High7.5
  • CVE-2019-1003029

    Script Security Plugin

    Sandbox Bypass

    Critical9.9
  • CVE-2019-1003030

    Matrix Project Plugin

    Remote Code Execution

    Critical9.9
  • CVE-2018-1000861

    Jenkins Stapler Web Framework

    Stapler Web Framework Deserialization of Untrusted Data

    Critical9.8
All 6 Jenkins vulnerabilities

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.