Command Injection Affecting org.jenkins-ci.plugins:docker-commons package, versions [,1.18)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.3% (70th 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-ORGJENKINSCIPLUGINS-2359984
  • published25 Jan 2022
  • disclosed12 Jan 2022
  • creditUnknown

Introduced: 12 Jan 2022

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

How to fix?

Upgrade org.jenkins-ci.plugins:docker-commons to version 1.18 or higher.

Overview

org.jenkins-ci.plugins:docker-commons is a collection of APIs useful to Docker-based plugins.

Affected versions of this package are vulnerable to Command Injection due to missing sanitization in the name of an image or a tag. Malicious actors with either Item/Configure permissions or the ability to control the contents of a previously configured job’s SCM repository can exploit this vulnerability to execute OS commands.

CVSS Scores

version 3.1