CVE-2022-25178
Vulnerability Summary
Timeline
Description
Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- v2.0•MEDIUM•Score: 4AV:N/AC:L/Au:S/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.30%• Percentile: 53%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- jenkins project•jenkins pipeline: shared groovy libraries plugin
≥ unspecified, ≤ 552.vd9cc05b8a2e1
- org.jenkins-ci.plugins.workflow•workflow-cps-global-lib
≥ 2.22, < 561.va_ce0de3c2d69 | ≥ 2.19, < 2.21.1 | < 2.18.1