Description
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier creates a temporary file in the default temporary directory with the default permissions for newly created files when uploading a plugin for installation, potentially allowing attackers with access to the Jenkins controller file system to read and write the file before it is used, potentially resulting in arbitrary code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Jenkins Project | Jenkins | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 4 | haproxy +1 | 2.2.19-4.el8 | RHSA-2023:1655 |
| Red Hat OpenShift 4 | jenkins | 2.387.1.1680701869-1.el8 | RHSA-2023:1655 |
| Red Hat OpenShift 4 | jenkins-2-plugins | 4.10.1680703106-1.el8 | RHSA-2023:1655 |
| Red Hat OpenShift 4 | openshift +1 | 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 | RHSA-2023:1655 |
| Red Hat Ocp Tools 4 | jenkins | 2.401.1.1686831596-3.el8 | RHSA-2023:3663 |
| Red Hat Ocp Tools 4 | jenkins-2-plugins | 4.11.1686831822-1.el8 | RHSA-2023:3663 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | >= 2.376, < 2.387.1 | 2.387.1 | GHSA-hf9h-vv4m-2f33 |
| Maven | org.jenkins-ci.main:jenkins-core | < 2.375.4 | 2.375.4 | GHSA-hf9h-vv4m-2f33 |
| Maven | org.jenkins-ci.main:jenkins-core | >= 2.388, < 2.394 | 2.394 | GHSA-hf9h-vv4m-2f33 |
Advisories 3
- RHSA-2023:3663 Red Hat Security Advisory: jenkins and jenkins-2-plugins security update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:1655 Red Hat Security Advisory: OpenShift Container Platform 4.10.56 security update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- WID-SEC-2023-0609 Jenkins: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 11, 2024
References
- Jenkins Security Advisory 2023-03-08 vendor-advisory