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-2023-37944 Vulnerability in maven package org.datadog.jenkins.plugins:datadog
CVE-2019-12418 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2021-3856 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2023-50730 Vulnerability in maven package org.typelevel:grackle-core_native0.4_2.13
CVE-2023-25141 Vulnerability in maven package org.apache.sling:org.apache.sling.jcr.base