Command Injection Affecting org.jenkins-ci.plugins.workflow:workflow-cps package, versions [,2.92.1)[2.93.0,2.94.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIPLUGINSWORKFLOW-2407606
  • published21 Feb 2022
  • disclosed15 Feb 2022
  • creditUnknown

Introduced: 15 Feb 2022

CVE-2022-25173  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins.workflow:workflow-cps to version 2.92.1, 2.94.1 or higher.

Overview

org.jenkins-ci.plugins.workflow:workflow-cps is a Jenkins Plugins Parent POM Project.

Affected versions of this package are vulnerable to Command Injection by using 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.

CVSS Scores

version 3.1