CVE-2022-25178

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductJenkins Pipeline\
PublishedFeb 15, 2022
First seenFeb 15, 2022

How to fix

Update
  • org.jenkins-ci.plugins.workflow:workflow-cps-global-lib561.va_ce0de3c2d69, 2.21.1, 2.18.1 or later

Affected products

ProductAffected versionsFixed in
jenkins pipeline\shared_groovy_libraries ≤ v ≤ 552.vd9cc05b8a2e1—
org.jenkins-ci.plugins.workflow:workflow-cps-global-libMaven2.22 ≤ v < 561.va_ce0de3c2d69, 2.19 ≤ v < 2.21.1, v < 2.18.1561.va_ce0de3c2d69, 2.21.1, 2.18.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.