PT-2022-27483 · Jenkins+1 · Jenkins Pipeline Utility Steps Plugin+2
James Nord
·
Published
2022-11-15
·
Updated
2023-11-22
·
CVE-2022-45381
CVSS v3.1
8.1
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Jenkins Pipeline Utility Steps Plugin versions 2.13.1 and earlier
Description
The issue allows attackers who can configure Pipelines to read arbitrary files from the Jenkins controller file system. This is due to the lack of restriction on the set of enabled prefix interpolators and the inclusion of Apache Commons Configuration library versions that enable the
file: prefix interpolator by default.Recommendations
For Jenkins Pipeline Utility Steps Plugin versions 2.13.1 and earlier, update to version 2.13.2 or later, which restricts the set of prefix interpolators enabled by default.
As a temporary workaround, consider setting the Java system property
org.jenkinsci.plugins.pipeline.utility.steps.conf.ReadPropertiesStepExecution.CUSTOM PREFIX INTERPOLATOR LOOKUPS to customize which prefix interpolators are enabled, excluding the file: prefix interpolator.Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Commons Configuration
Jenkins
Jenkins Pipeline Utility Steps Plugin