GitHub Advisoryadvisory · Maven
GHSA-5hfv-mg5x-mv32 Improper Limitation of a Pathname to a Restricted Directory in Jenkins Pipeline: Shared Groovy Libraries Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2022-25178
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins.workflow:workflow-cps-global-lib
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2022-06-20
Affected packages
• Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib: >= 2.22, < 561.va_ce0de3c2d69 → fixed in 561.va_ce0de3c2d69
• Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib: >= 2.19, < 2.21.1 → fixed in 2.21.1
• Maven org.jenkins-ci.plugins.workflow:workflow-cps-global-lib: < 2.18.1 → fixed in 2.18.1
Description
Jenkins Pipeline: Shared Groovy Libraries Plugin 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.
Related
Alias · CVE (1)
- CVE-2022-25178 Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness