Vulnerability · Published Feb 15, 2022 · Assigned by jenkins
CVE-2022-25178
Medium 6.5
In plain English
A medium-severity security flaw in Jenkins Pipeline: Shared Groovy Libraries Plugin from Jenkins project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.7%top 23.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | 561.va_ce0de3c2d69 | GHSA-5hfv-mg5x-mv32 |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | 2.21.1 | GHSA-5hfv-mg5x-mv32 |
| Maven | org.jenkins-ci.plugins.workflow:workflow-cps-global-lib | 2.18.1 | GHSA-5hfv-mg5x-mv32 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Jenkins project | Jenkins Pipeline: Shared Groovy Libraries Plugin | unspecified – through 552.vd9cc05b8a2e1 |
References
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613 x_refsource_CONFIRM