Unrestricted file upload in Jenkins
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-434.
Summary
In Jenkins 2.423 and earlier, LTS 2.414.1 and earlier, processing file uploads using the Stapler web framework creates temporary files in the default system temporary directory with the default permissions for newly created files, potentially allowing attackers with access to the Jenkins controller file system to read and write the files before they are used.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Jenkins | Jenkins | — | 2.424, 2.414.2 | Patch available | CNA |
| — | org.jenkins-ci.main:jenkins-core (Maven) | 2.50 to before 2.414.2 | 2.414.2 | Patch available | GHSA-qv64-w99c-qcr9 |
| — | org.jenkins-ci.main:jenkins-core (Maven) | 2.415 to before 2.424 | 2.424 | Patch available | GHSA-qv64-w99c-qcr9 |
- Jenkins VendorJenkins Affected — Fixed in 2.424, 2.414.2 Patch available CNA
- org.jenkins-ci.main:jenkins-core (Maven) Vendor— Affected 2.50 to before 2.414.2 Fixed in 2.414.2 Patch available GHSA-qv64-w99c-qcr9
- org.jenkins-ci.main:jenkins-core (Maven) Vendor— Affected 2.415 to before 2.424 Fixed in 2.424 Patch available GHSA-qv64-w99c-qcr9
Remediation
- Fix · CNA Jenkins (Jenkins Project) Fixed in 2.424, 2.414.2
- Fix · GHSA-qv64-w99c-qcr9 org.jenkins-ci.main:jenkins-core (Maven) Fixed in 2.414.2 Advisory →
- Fix · GHSA-qv64-w99c-qcr9 org.jenkins-ci.main:jenkins-core (Maven) Fixed in 2.424 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Jenkins — Jenkins Security Advisory 2023-09-20
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2023-23253 Incorrect default permissions in JenkinsPriority MEDIUM 42
- TI-2023-23255 In Jenkins 2.423 and earlier, LTS 2.414.1 and earlier, processing file uploads using…Priority LOW 39
- TI-2023-23251 Jenkins 2.50 through 2.423 (both inclusive), LTS 2.60.1 through 2.414.1 (both inclusive)…Priority LOW 27
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Developer Tools and Services | Affected | No fix yet |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-43497
- 2026-10-03 Alias added: GHSA-qv64-w99c-qcr9
References
More Jenkins vulnerabilities
- TI-2024-15885 Path traversal in Jenkins KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
- TI-2017-14573 Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and earlier are vulnerable to an… KEVCVSS 3.1CRITICAL 9.8
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2015-04472 The Fingerprints pages in Jenkins before 1.638 and LTS before 1.625.2 might allow remote… KEVCVSS 3.1HIGH 7.5
- TI-2016-07596 The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2023-43497 · CVE Program
- CVE-2023-43497 · NVD
- FIRST EPSS
- GHSA-qv64-w99c-qcr9 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-43497 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences