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

EcosystemPackageFixed inAdvisory
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps-global-lib561.va_ce0de3c2d69GHSA-5hfv-mg5x-mv32
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps-global-lib2.21.1GHSA-5hfv-mg5x-mv32
Mavenorg.jenkins-ci.plugins.workflow:workflow-cps-global-lib2.18.1GHSA-5hfv-mg5x-mv32

Affected products (as reported)

VendorProductVersions
Jenkins project Jenkins Pipeline: Shared Groovy Libraries Plugin unspecified – through 552.vd9cc05b8a2e1

References