Description
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.
Remediation
References
http://www.openwall.com/lists/oss-security/2023/09/20/5
https://www.jenkins.io/security/advisory/2023-09-20/#SECURITY-3073
Related Vulnerabilities
CVE-2023-30331 Vulnerability in maven package com.ibeetl:beetl
CVE-2021-23368 Vulnerability in npm package postcss
CVE-2020-5243 Vulnerability in npm package uap-core
CVE-2019-10284 Vulnerability in maven package org.jenkins-ci.plugins:diawi-upload
CVE-2021-39231 Vulnerability in maven package org.apache.ozone:ozone-main