Stackurity Start free trial

CVEs / CVE-2024-23897

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

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2024-23897

Summary

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, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 24 Jan 2024 · NVD status: Analyzed

Affected and fixed versions

As stated by NVD's CPE configuration
ProductAffectedFixed in
jenkins jenkinsbefore 2.426.32.426.3
jenkins jenkinsbefore 2.4422.442
As stated by OSV
ProductAffectedFixed in
org.jenkins-ci.main:jenkins-core (Maven)from 1.606, before 2.426.32.426.3
org.jenkins-ci.main:jenkins-core (Maven)from 2.427, before 2.440.12.440.1
org.jenkins-ci.main:jenkins-core (Maven)from 2.441, before 2.4422.442

Package versions from GHSA-6f9g-cxwr-q5jr.

Exploitation

In CISA KEV since19 Aug 2024
Due date for US federal agencies9 Sep 2024
Used in ransomware campaignsKnown
Required actionApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-22, CWE-27

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.