CVE-2024-23897
Arbitrary file read vulnerability through the Jenkins CLI can lead to RCE
Reported by jenkins · Published January 24, 2024
jenkins-core is fixed in 2.442, 2.441, 2.440.1 and 1 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.jenkins-ci.main:jenkins-core | Maven Central | 2.442, 2.441, 2.440.1, 2.426.3 |
| jenkins | Wolfi | 2.442-r0 |
| jenkins | Chainguard | 2.442-r0 |
| jenkins | Bitnami | 2.452.1 |
| jenkins | Alpine | 2.426.3-r0 |
| jenkins | jenkins | 2.442, 2.441, 2.427, 2.426.3, 1.606 |
| Jenkins | Jenkins Project | 1.606 |
| jenkins | Bitnami | 2.452.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Jenkins Project | Jenkins | 0, 2.442, 2.426.3 |
| wolfi | jenkins | 0 |
| chainguard | jenkins | 0 |
| Maven | org.jenkins-ci.main:jenkins-core | 2.427, 1.606, 2.441 |
| chainguard | jenkins-2.440 | * |
| Jenkins Project | Jenkins | 2.440.1, 0, 2.442 |
| jenkins | jenkins | 0, 2.440.1, 2.426.3 |
| alpine | jenkins | 0 |
Timeline
- Jan 24, 2024 Metasploit Module
- Jan 24, 2024 CVE Published
- Jan 26, 2024 VulnCheck XDB Entry (56 in total, the first dated here)
- Jan 28, 2024 Nuclei Template
- Jan 28, 2024 Fix Commit
- Jan 29, 2024 PoC Published (29 in total, the first dated here)
- Jan 30, 2024 VulnCheck KEV Exploitation (489 in total, the first dated here)
- Jan 31, 2024 EPSS Score (30 in total, the first dated here)
- Aug 19, 2024 CISA KEV Added
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Jan 14, 2026 CrowdSec Sighting (6 in total, the first dated here)
- Mar 17, 2026 Security Advisory (11 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-23897
vulnetix vdb fixes CVE-2024-23897
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23897/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- Jenkins Security Advisory 2024-01-24 vendor-advisory
- SECURITY-3314-3315 exploit
- CVE-2024-23897 exploit
- CVE-2024-23897 exploit
- CVE-2024-23897 exploit
- poc-cve-2024-23897 exploit
- CVE-2024-23897 exploit
- CVE-2024-23897 exploit
- PoC-Fix-jenkins-rce_CVE-2024-23897 exploit
- CVE-2024-23897 exploit
- CVE-2024-23897 exploit
- CVE-2024-23897 exploit
- CVE-2024-23897 exploit
- CVE-2024-23897 exploit
- Jenkins-CVE-2024-23897 exploit
- Jenkins-CVE-2024-23897- exploit
…and 35 more