cve.bz

CVE-2022-20617 jenkins docker commons: OS Command Injection

8.8 highEPSS 2.3%Fix available

High (8.8) in jenkins docker commons. EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkins-ci.plugins:docker-commons 1.18.

On this page
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.

Severity

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
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-20617 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-20617?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-20617?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-20617 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Jenkins project Jenkins Docker Commons Pluginthrough 1.17

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jpxj-vgq5-prjcMavenorg.jenkins-ci.plugins:docker-commons<1.181.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:3.11::el7jenkins0:2.319.2.1644411558-1.el7RHSA-2022:0555
Red Hatopenshift:3.11::el7jenkins-2-plugins0:3.11.1644412543-1.el7RHSA-2022:0555
Red Hatopenshift:4.6::el8jenkins0:2.319.2.1643964085-1.el8RHSA-2022:0565
Red Hatopenshift:4.6::el8jenkins-2-plugins0:4.6.1643965689-1.el8RHSA-2022:0565
Red Hatopenshift:4.7::el8jenkins0:2.319.2.1643882372-1.el8RHSA-2022:0491
Red Hatopenshift:4.7::el8jenkins-2-plugins0:4.7.1643883495-1.el8RHSA-2022:0491
Red Hatopenshift:4.8::el8jenkins0:2.319.2.1643648617-1.el8RHSA-2022:0483
Red Hatopenshift:4.8::el8jenkins-2-plugins0:4.8.1643649345-1.el8RHSA-2022:0483
Red Hatopenshift:4.9::el8jenkins0:2.319.2.1643391771-1.el8RHSA-2022:0339
Red Hatopenshift:4.9::el8jenkins-2-plugins0:4.9.1643389956-1.el8RHSA-2022:0339
Red Hatopenshift:4.10::el7cri-o, cri-o-debuginfo0:1.23.0-92.rhaos4.10.gitdaab4d1.el7RHSA-2022:0055
Red Hatopenshift:4.10::el7openshift, openshift-hyperkube0:4.10.0-202202250816.p0.ge419edf.assembly.stream.el7RHSA-2022:0055
7 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11jenkins-2-plugins-0:3.11.1644412543-1.el7Fixed 2022-02-24RHSA-2022:0555
Red Hat OpenShift Container Platform 4.10jenkins-2-plugins-0:4.10.1643404185-1.el8Fixed 2022-03-10RHSA-2022:0055
Red Hat OpenShift Container Platform 4.6jenkins-2-plugins-0:4.6.1643965689-1.el8Fixed 2022-02-25RHSA-2022:0565
Red Hat OpenShift Container Platform 4.7jenkins-2-plugins-0:4.7.1643883495-1.el8Fixed 2022-02-16RHSA-2022:0491
Red Hat OpenShift Container Platform 4.8jenkins-2-plugins-0:4.8.1643649345-1.el8Fixed 2022-02-16RHSA-2022:0483
Red Hat OpenShift Container Platform 4.9jenkins-2-plugins-0:4.9.1643389956-1.el8Fixed 2022-02-10RHSA-2022:0339

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-20617.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON