CVE-2023-27899
Jenkins: Temporary plugin file created with insecure permissions
Overview
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.
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-863
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | jenkins | <2.394.0 | 2.394.0 |
| Maven | org.jenkins-ci.main:jenkins-core | >=2.376, <2.387.1<2.375.4>=2.388, <2.394 | 2.387.12.375.42.394 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
Red Hat 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jenkins | eol | — |
| 7 | openshift-hyperkube | 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 | RHSA-2023:1655 |
| 8 | haproxy22 | 0:2.2.19-4.el8 | RHSA-2023:1655 |
| 8 | jenkins | 0:2.387.1.1680701869-1.el8 | RHSA-2023:1655 |
| 8 | openshift-hyperkube | 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8 | RHSA-2023:1655 |
| 8 | jenkins-2-plugins | 0:4.10.1680703106-1.el8 | RHSA-2023:1655 |
alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| edge | jenkins | 2.387.2-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-27899
- github.com https://github.com/CVEProject/cvelist/blob/master/2023/27xxx/CVE-2023-27899.json
- github.com https://github.com/jenkinsci/jenkins/commit/f39c11fa27b14923260c4c9b896f0f373e2a0a17
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-27899
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-27899
- www.jenkins.io https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-2823
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.