CVE-2022-25173

High

Description

Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier uses the same checkout directories for distinct SCMs when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

SeverityHigh
CVSS8.8
Exploit probability—
ProductJenkins Pipeline\
PublishedFeb 15, 2022
First seenFeb 15, 2022

How to fix

Update
  • org.jenkins-ci.plugins.workflow:workflow-cps2656.vf7a, 2.94.1, 2.92.1 or later

Affected products

ProductAffected versionsFixed in
jenkins pipeline\_groovy ≤ v ≤ 2648.va9433432b33c—
org.jenkins-ci.plugins.workflow:workflow-cpsMaven2646.v6ed3b5b01ff1 ≤ v < 2656.vf7a, 2.93 ≤ v < 2.94.1, v < 2.92.12656.vf7a, 2.94.1, 2.92.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.

CVE-2022-25173 · Jenkins Pipeline\ · Dark Radar