WaratekVRT Sign in

CVE-2022-20617 Jenkins Docker Commons

Affected softwareJenkins Docker Commons
Severity8.8 High CVSS 3.1 2 scores
Fixed in1.18
WeaknessOS command injection (CWE-78)
Published12 Jan 2022
Updated17 Jun 2026

Description

Jenkins Docker Commons Plugin 1.17 and earlier does not sanitize the name of an image or a tag, resulting in an OS command execution vulnerability exploitable by attackers with Item/Configure permission or able to control the contents of a previously configured job's SCM repository.

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 2.3% 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-20617

Upgrade Jenkins Docker Commons to 1.18 or later. 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:docker-commons 0 1.18 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd jenkins docker commons generic ≤ 1.17
osv org.jenkins-ci.plugins docker-commons generic < 1.18

References

URLTags
https://github.com/jenkinsci/docker-commons-plugin/commit/c069b79c31c5aa80a01b0c462f0dc6b41751f059 WEB
https://github.com/jenkinsci/docker-commons-plugin PACKAGE
https://plugins.jenkins.io/docker-commons WEB
https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-1878 WEB
http://www.openwall.com/lists/oss-security/2022/01/12/6 WEB

Timeline

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