CVE-2024-43044 Jenkins Remoting library arbitrary file read vulnerability

High 8.8 Published Updated

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.

PackageAffectedFixed in
org.jenkins-ci.main:jenkins-core MavenAll versions2.452.4
org.jenkins-ci.main:jenkins-core MavenAll versions2.452.4
org.jenkins-ci.main:jenkins-core MavenFrom 2.4602.462.1
org.jenkins-ci.main:jenkins-core MavenFrom 2.4602.462.1
org.jenkins-ci.main:jenkins-core MavenFrom 2.4702.471
org.jenkins-ci.main:jenkins-core MavenFrom 2.4702.471
7 more packages
jenkins BitnamiAll versions2.462.1, 2.479.1
org.jenkins-ci.main:remoting MavenAll versions3206.3208
org.jenkins-ci.main:remoting MavenAll versions3206.3208
org.jenkins-ci.main:remoting MavenFrom 32483248.3250
org.jenkins-ci.main:remoting MavenFrom 32483248.3250
org.jenkins-ci.main:remoting MavenFrom 32563256.3258
org.jenkins-ci.main:remoting MavenFrom 32563256.3258
Linux distribution packages (8)
jenkins Red Hat:ocp_tools:4.12::el8All versions0:2.462.1.1723550696-3.el8
jenkins-2-plugins Red Hat:ocp_tools:4.12::el8All versions0:4.12.1723550778-1.el8
jenkins Red Hat:ocp_tools:4.13::el8All versions0:2.462.1.1723445923-3.el8
jenkins-2-plugins Red Hat:ocp_tools:4.13::el8All versions0:4.13.1723446018-1.el8
jenkins Red Hat:ocp_tools:4.14::el8All versions0:2.462.1.1723225151-3.el8
jenkins-2-plugins Red Hat:ocp_tools:4.14::el8All versions0:4.14.1723225212-1.el8
jenkins Red Hat:ocp_tools:4.15::el8All versions0:2.462.1.1723440104-3.el8
jenkins-2-plugins Red Hat:ocp_tools:4.15::el8All versions0: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.

All Jenkins Jenkins vulnerabilities

Sources

Also known as BIT-jenkins-2024-43044, GHSA-h856-ffvv-xvr4, RHSA-2024:5405, RHSA-2024:5406, RHSA-2024:5410, RHSA-2024:5411.

Is CVE-2024-43044 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free