CVE-2024-43044 Jenkins Remoting library arbitrary file read vulnerability
Malicious agents can read arbitrary files from the Jenkins controller file system via the Remoting library's fetchJar method.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-43044?
CVE-2024-43044 is a high-severity path traversal vulnerability in Jenkins Jenkins, published on 7 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins 2.470 and earlier, LTS 2.452.3 and earlier allows agent processes to read arbitrary files from the Jenkins controller file system by using the `ClassLoaderProxy#fetchJar` method in the Remoting library.
Weakness: CWE-754
Which versions are affected by CVE-2024-43044?
13 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core, jenkins and org.jenkins-ci.main:remoting. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.main:jenkins-core Maven | All versions | 2.452.4 |
org.jenkins-ci.main:jenkins-core Maven | All versions | 2.452.4 |
org.jenkins-ci.main:jenkins-core Maven | From 2.460 | 2.462.1 |
org.jenkins-ci.main:jenkins-core Maven | From 2.460 | 2.462.1 |
org.jenkins-ci.main:jenkins-core Maven | From 2.470 | 2.471 |
org.jenkins-ci.main:jenkins-core Maven | From 2.470 | 2.471 |
7 more packages
jenkins Bitnami | All versions | 2.462.1, 2.479.1 |
org.jenkins-ci.main:remoting Maven | All versions | 3206.3208 |
org.jenkins-ci.main:remoting Maven | All versions | 3206.3208 |
org.jenkins-ci.main:remoting Maven | From 3248 | 3248.3250 |
org.jenkins-ci.main:remoting Maven | From 3248 | 3248.3250 |
org.jenkins-ci.main:remoting Maven | From 3256 | 3256.3258 |
org.jenkins-ci.main:remoting Maven | From 3256 | 3256.3258 |
Linux distribution packages (8)
jenkins Red Hat:ocp_tools:4.12::el8 | All versions | 0:2.462.1.1723550696-3.el8 |
jenkins-2-plugins Red Hat:ocp_tools:4.12::el8 | All versions | 0:4.12.1723550778-1.el8 |
jenkins Red Hat:ocp_tools:4.13::el8 | All versions | 0:2.462.1.1723445923-3.el8 |
jenkins-2-plugins Red Hat:ocp_tools:4.13::el8 | All versions | 0:4.13.1723446018-1.el8 |
jenkins Red Hat:ocp_tools:4.14::el8 | All versions | 0:2.462.1.1723225151-3.el8 |
jenkins-2-plugins Red Hat:ocp_tools:4.14::el8 | All versions | 0:4.14.1723225212-1.el8 |
jenkins Red Hat:ocp_tools:4.15::el8 | All versions | 0:2.462.1.1723440104-3.el8 |
jenkins-2-plugins Red Hat:ocp_tools:4.15::el8 | All versions | 0:4.15.1723440333-1.el8 |
Products include Jenkins Jenkins.
How do I fix CVE-2024-43044?
Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 2.452.4, 2.462.1 or 2.471.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-43044 being exploited?
There is no known exploitation of CVE-2024-43044 in the wild and no public exploit code.
Public exploit code: 5 proofs of concept on GitHub.
Other vulnerabilities in Jenkins Jenkins
- CVE-2024-23897 Jenkins Command Line Interface (CLI) Path Traversal
- CVE-2018-1000861 Jenkins Stapler Web Framework Deserialization of Untrusted Data
- CVE-2017-1000353 Jenkins Remote Code Execution
- CVE-2015-5317 Jenkins User Interface (UI) Information Disclosure
- CVE-2021-21690 Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins
Sources
Also known as BIT-jenkins-2024-43044, GHSA-h856-ffvv-xvr4, RHSA-2024:5405, RHSA-2024:5406, RHSA-2024:5410, RHSA-2024:5411.