GHSA-3g9q-cmgv-g4p6

Suggest an improvement
Source
https://github.com/advisories/GHSA-3g9q-cmgv-g4p6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-3g9q-cmgv-g4p6/GHSA-3g9q-cmgv-g4p6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3g9q-cmgv-g4p6
Aliases
  • CVE-2022-45381
Published
2022-11-16T12:00:22Z
Modified
2024-02-16T08:24:17.135765Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Arbitrary file read vulnerability in Jenkins Pipeline Utility Steps Plugin
Details

Pipeline Utility Steps Plugin implements a readProperties Pipeline step that supports interpolation of variables using the Apache Commons Configuration library.

Pipeline Utility Steps Plugin 2.13.1 and earlier does not restrict the set of enabled prefix interpolators and bundles versions of this library that enable the file: prefix interpolator by default.

This allows attackers able to configure Pipelines to read arbitrary files from the Jenkins controller file system.

Pipeline Utility Steps Plugin 2.13.2 restricts the set of prefix interpolators enabled by default to base64Decoder:, base64Encoder:, date:, urlDecoder:, and urlEncoder:.

Administrators can set the Java system property org.jenkinsci.plugins.pipeline.utility.steps.conf.ReadPropertiesStepExecution.CUSTOM_PREFIX_INTERPOLATOR_LOOKUPS to customize which prefix interpolators are enabled.

Database specific
{
    "nvd_published_at": "2022-11-15T20:15:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-11-21T22:21:17Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:pipeline-utility-steps

Package

Name
org.jenkins-ci.plugins:pipeline-utility-steps
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/pipeline-utility-steps

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.13.2

Affected versions

1.*

1.0
1.1
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.2.0
1.2.1
1.2.2
1.3.0
1.4.0
1.4.1
1.5.0
1.5.1

2.*

2.0
2.0.1
2.0.2
2.1.0
2.2.0
2.3.0
2.3.1
2.4.0
2.5.0
2.6.0
2.6.1
2.7.0
2.7.1
2.8.0
2.9.0
2.10.0
2.11.0
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1

Database specific

{
    "last_known_affected_version_range": "<= 2.13.1"
}