jenkinsci/docker-commons-plugin · Security
OS command execution vulnerability in Jenkins Docker Commons Plugin
- GHSA ID
- GHSA-jpxj-vgq5-prjc
- CVE ID
- CVE-2022-20617
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-20617 ↗
- https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-1878 ↗
- http://www.openwall.com/lists/oss-security/2022/01/12/6 ↗
- https://plugins.jenkins.io/docker-commons ↗
- https://github.com/jenkinsci/docker-commons-plugin/commit/c069b79c31c5aa80a01b0c462f0dc6b41751f059 ↗
- https://github.com/advisories/GHSA-jpxj-vgq5-prjc ↗