Arbitrary file upload in Jenkins

CVE-2023-43497

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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.008 (52.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-43497?
CVE-2023-43497 is a high-severity vulnerability in Jenkins, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.1/10. Published 2023-09-20.
How severe is CVE-2023-43497?
High severity. CVSS v3 base score is 8.1 out of 10.