WaratekVRT Sign in

CVE-2022-25173

Severity8.8 High CVSS 3.1 2 scores
Fixed in2656.vf7a, 2.94.1, 2.92.1
WeaknessOS command injection (CWE-78)
Published15 Feb 2022
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR command-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-78: OS Command Injection.

How to mitigate CVE-2022-25173

Upgrade the affected software to a release that fixes it: 2656.vf7a, 2.94.1 or 2.92.1. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 6.5 none AV:N/AC:L/Au:S/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.jenkins-ci.plugins.workflow:workflow-cps 2646.v6ed3b5b01ff1 2656.vf7a unbounded
org.jenkins-ci.plugins.workflow:workflow-cps 2.93 2.94.1 unbounded
org.jenkins-ci.plugins.workflow:workflow-cps 0 2.92.1 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd jenkins pipeline\ generic _groovy
osv org.jenkins-ci.plugins.workflow workflow-cps generic < 2.92.1 · ≥ 2.93 and < 2.94.1 · ≥ 2646.6.3.5.1.1 and < 2656.7

References

URLTags
https://github.com/jenkinsci/workflow-cps-plugin/commit/f7ae7b75a457976853539bff1db52373b85fdb85 WEB
https://github.com/CVEProject/cvelist/blob/3615f493b8a36ff15735fb9d79c9dc9e0d542695/2022/25xxx/CVE-2022-25173.json WEB
https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463 WEB
http://www.openwall.com/lists/oss-security/2022/02/15/2 WEB

Timeline

Published2022-02-15By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.