Skip to content

OS command execution vulnerability in Jenkins Docker Commons Plugin

High severity GitHub Reviewed Published Jan 13, 2022 to the GitHub Advisory Database • Updated Dec 27, 2023

Package

maven org.jenkins-ci.plugins:docker-commons (Maven)

Affected versions

< 1.18

Patched versions

1.18

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.

References

Published by the National Vulnerability Database Jan 12, 2022
Published to the GitHub Advisory Database Jan 13, 2022
Reviewed Apr 29, 2022
Last updated Dec 27, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-20617

GHSA ID

GHSA-jpxj-vgq5-prjc

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.