jenkins: Arbitrary file read vulnerability through the CLI can lead to RCE
CVSS score
9.8
EPSS probability
%100.0
Risk score
19.6
Published
2 y ago
Kanıt listesindeki ürün ve sürüm eşleşmesini kontrol edin; bazı varyantlar hâlâ etkileniyor olabilir.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
DayBreach CVE AI Research
CVE-2024-23897 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.
A flaw was found in Jenkins, which uses the args4j library to parse command arguments and options on the Jenkins controller when processing CLI commands. This command parser has a feature that replaces the "@" character followed by a file path in an argument with the file’s contents (expandAtFiles). This feature is enabled by default; Jenkins 2.441 and earlier as well as LTS 2.426.2 and earlier do not disable it.
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2024-23897 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | Red Hat | red_hat_openshift_container_platform_3.11:jenkins | View |
| 2 | Red Hat | red_hat_openshift_container_platform_3.11:jenkins.src | View |
| 3 | Red Hat | 8Base-OCP-Tools-4.11:jenkins-0:2.426.3.1706516929-3.el8.noarch | View |
| 4 | Red Hat | 8Base-OCP-Tools-4.11:jenkins-0:2.426.3.1706516929-3.el8.src | View |
| 5 | Red Hat | 8Base-OCP-Tools-4.12:jenkins-0:2.426.3.1706515686-3.el8.noarch | View |
| 6 | Red Hat | 8Base-OCP-Tools-4.12:jenkins-0:2.426.3.1706515686-3.el8.src | View |
| 7 | Red Hat | 8Base-OCP-Tools-4.13:jenkins-0:2.426.3.1706516254-3.el8.noarch | View |
| 8 | Red Hat | 8Base-OCP-Tools-4.13:jenkins-0:2.426.3.1706516254-3.el8.src | View |
| 9 | jenkins | Jenkins Command Line Interface (CLI) | View |
RED HAT CSAF/VEX: Product Impact Check
Does this CVE affect my Red Hat product?
The results come directly from the Red Hat CSAF VEX product status; they are not estimates.
Red Hat bu ürün sürümünü etkilenen olarak işaretliyor.
Disabling access to the CLI is expected to prevent exploitation completely. Doing so is strongly recommended to administrators unable to immediately update to Jenkins 2.442, LTS 2.426.3 or LTS 2.440.1. Applying this workaround does not require a Jenkins restart.
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 9.8 | cvss_v3 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Red Hat |
Patch and Remediation Guide
Solution & Remediation Advisory
6 düzeltme kanıtı bulundu; en az 2 ürün veya sürüm hâlâ etkileniyor ya da inceleniyor.
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Open sourceFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Open sourceFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Open sourceDisabling access to the CLI is expected to prevent exploitation completely. Doing so is strongly recommended to administrators unable to immediately update to Jenkins 2.442, LTS 2.426.3 or LTS 2.440.1. Applying this workaround does not require a Jenkins restart.
Out of support scope
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Open sourceFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Open sourceFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
Open sourceApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Public exploit and active exploitation status
Verified exploit intelligence
This CVE is marked as actively exploited in the CISA KEV catalogue, but no verified, downloadable public PoC or Metasploit module has been found yet. Evidence of active exploitation does not mean that public exploit code exists.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-23897 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-23897 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
spring-cloud-function: Remote code execution by malicious Spring Expression
activemq-openwire: OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
Vulnerability in N/a
libwebp: Heap buffer overflow in WebP Codec
salt: salt-master process ClearFuncs class does not properly validate method calls
Deserialization of untrusted data in Red Hat, Inc. Jbossas
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.enginteksut.com.tr/api/v1/intel/cves/CVE-2024-23897"