Jenkins CLI argument parser reads arbitrary files
CVE-2024-23897Known exploitedRansomwareCritical
Jenkins CLI command parser contains a feature that replaces '@' followed by a file path in arguments with the file's contents. An unauthenticated attacker can exploit this to read arbitrary files from the Jenkins controller file system. The attacker needs only network access to the Jenkins CLI port and knowledge of file paths they wish to read.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 19 Aug 2024
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
Jenkins Command Line Interface (CLI). CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Weakness: CWE-22 (opens in a new tab), CWE-27 (opens in a new tab)
Affected versions
- jenkins jenkins: before 2.426.3
- jenkins jenkins: before 2.442