CVE-2023-43496:
Jenkins temporary plugin file created with insecure permissions
7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35039%
CWE
Published
9/20/2023
Updated
1/4/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.main:jenkins-core | maven | >= 2.50, < 2.414.2 | 2.414.2 |
org.jenkins-ci.main:jenkins-core | maven | >= 2.415, < 2.424 | 2.424 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure temporary file handling in plugin installation. The commit diff shows the patched version adds a secure subdirectory (tmpDir) parameter to File.createTempFile()
, while the original vulnerable code used the system temp directory. The doUploadPlugin
method is directly responsible for this file creation operation. The security advisory specifically mentions this code path as the source of insecure file permissions when deploying plugins from URLs, and the test cases added in PluginManagerSecurity3072Test.java
validate the permission changes.