CVE-2023-32986:
Jenkins File Parameter Plugin arbitrary file write vulnerability
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.89448%
CWE
Published
5/16/2023
Updated
1/4/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
io.jenkins.plugins:file-parameters | maven | < 285.287.v4b | 285.287.v4b |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unvalidated filename
handling in Stashed File Parameters. The commit diff shows critical changes where filename
assignment was moved to a setFilename()
method that performs Jenkins.checkGoodName()
validation. The vulnerable versions directly used FileItem.getName()
without validation in StashedFileParameterValue
constructor and Base64FileParameterValue.setFile
. The AbstractFileParameterDefinition.createValue
method was vulnerable as it propagated these unvalidated filenames
into the build environment. The high confidence comes from explicit path traversal prevention being added in the patch through filename
validation.