8.8high
Jenkins Remoting library arbitrary file read vulnerability
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 7.24% (higher than 95% of CVEs)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-h856-ffvv-xvr4BIT-JENKINS-2024-43044
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins Project Jenkins | Not specified Not affected: from 2.452.4 before 2.452.*, from 2.462.1 before 2.462.*, from 2.471 before * | CVE List |
| org.jenkins-ci.main:remoting (Maven) | before 3206.3208, from 3248 before 3248.3250, from 3256 before 3256.3258 | GitHub Advisory Database |
| org.jenkins-ci.main:jenkins-core (Maven) | before 2.452.4, from 2.460 before 2.462.1, from 2.470 before 2.471 | GitHub Advisory Database |
| jenkins jenkins | before 2.452.4, before 2.471 | NVD |
| jenkins (Bitnami) | before 2.462.1, from 2.463.0 before 2.479.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Jenkins uses the Remoting library (typically agent.jar or remoting.jar) for the communication between controller and agents. This library allows agents to load classes and classloader resources from the controller, so that Java objects sent from the controller (build steps, etc.) can be executed on agents.
In addition to individual class and resource files, Remoting also allows Jenkins plugins to transmit entire jar files to agents using the Channel#preloadJar API. As of publication of this advisory, this feature is used by the following plugins distributed by the Jenkins project: bouncycastle API, Groovy, Ivy, TeamConcert
In Remoting 3256.v88a_f6e922152 and earlier, except 3206.3208.v409508a_675ff and 3248.3250.v3277a_8e88c9b_, included in Jenkins 2.470 and earlier, LTS 2.452.3 and earlier, calls to Channel#preloadJar result in the retrieval of files from the controller by the agent using ClassLoaderProxy#fetchJar. Additionally, the implementation of ClassLoaderProxy#fetchJar invoked on the controller does not restrict paths that agents could request to read from the controller file system.
This allows agent processes, code running on agents, and attackers with Agent/Connect permission to read arbitrary files from the Jenkins controller file system.
The Remoting library in Jenkins 2.471, LTS 2.452.4, LTS 2.462.1 now sends jar file contents with Channel#preloadJar requests, the only use case of ClassLoaderProxy#fetchJar in agents, so that agents do not need to request jar file contents from controllers anymore.
To retain compatibility with older versions of Remoting in combination with the plugins listed above, ClassLoaderProxy#fetchJar is retained and otherwise unused, just deprecated. Its implementation in Jenkins 2.471, LTS 2.452.4, LTS 2.462.1 was changed so that it is now limited to retrieving jar files referenced in the core classloader or any plugin classloader.
NVD (es)
Jenkins 2.470 y anteriores, LTS 2.452.3 y anteriores permiten que los procesos del agente lean archivos arbitrarios del sistema de archivos del controlador Jenkins mediante el método `ClassLoaderProxy#fetchJar` en la librería Remoting.
Bitnami Vulnerability Database
Jenkins 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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-43044 changed 2025-03-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h856-ffvv-xvr4 changed 2026-08-07 | CC-BY-4.0 |
| NVD | CVE-2024-43044 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-JENKINS-2024-43044 changed 2026-09-08 | Apache-2.0 |