Description
Jenkins 2.423 and earlier, LTS 2.414.1 and earlier creates a temporary file in the system temporary directory with the default permissions for newly created files when installing a plugin from a URL, potentially allowing attackers with access to the system temporary directory to replace the file before it is installed in Jenkins, potentially resulting in arbitrary code execution.
Remediation
References
https://www.jenkins.io/security/advisory/2023-09-20/#SECURITY-3072
http://www.openwall.com/lists/oss-security/2023/09/20/5
Related Vulnerabilities
CVE-2011-3190 Vulnerability in maven package tomcat:tomcat-coyote
CVE-2016-6814 Vulnerability in maven package org.codehaus.groovy:groovy-all
CVE-2019-1003096 Vulnerability in maven package org.jenkins-ci.plugins:testfairy
CVE-2022-4493 Vulnerability in maven package io.scif:scifio
CVE-2023-46233 Vulnerability in maven package org.webjars.npm:github-com-brix-crypto-js