PT-2022-17117 · Jenkins · Jenkins Pipeline: Shared Groovy Libraries Plugin+1
Published
2022-02-15
·
Updated
2023-11-30
·
CVE-2022-25178
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Jenkins Pipeline: Shared Groovy Libraries Plugin versions 552.vd9cc05b8a2e1 and earlier
Description
The issue allows attackers with permission to configure Pipelines to read arbitrary files on the Jenkins controller file system. This is due to the lack of restriction on the names of resources passed to the
libraryResource step.Recommendations
For versions 552.vd9cc05b8a2e1 and earlier, consider restricting access to the
libraryResource step until a patch is available. As a temporary workaround, limit the configuration of Pipelines to trusted users to minimize the risk of exploitation.Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Pipeline: Shared Groovy Libraries Plugin