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.
Remediation
References
https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-2823
Related Vulnerabilities
CVE-2019-17566 Vulnerability in maven package org.apache.xmlgraphics:batik-transcoder
CVE-2021-20334 Vulnerability in npm package mongodb-js-metrics
CVE-2016-6795 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2018-6341 Vulnerability in npm package preact-render-to-string
CVE-2020-2139 Vulnerability in maven package org.jenkins-ci.plugins:cobertura