Bug 2044502 (CVE-2022-20617) - CVE-2022-20617 jenkins-2-plugins/docker-commons: does not sanitize the name of an image or a tag which could result in an OS command execution
Summary: CVE-2022-20617 jenkins-2-plugins/docker-commons: does not sanitize the name o...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-20617
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2044938 2044939 2044940 2044941 2044942 2044943
Blocks: 2044461
TreeView+ depends on / blocked
 
Reported: 2022-01-24 17:32 UTC by Michael Kaplan
Modified: 2022-03-10 19:02 UTC (History)
11 users (show)

Fixed In Version: docker commons plugin 1.18
Doc Type: If docs needed, set a value
Doc Text:
An OS command execution vulnerability was found in the Jenkins Docker Commons plugin. Due to a lack of sanitization in the name of an image or a tag, an attacker with Item/Configure permission or the ability to control the contents of a previously configured job’s SCM repository may be able to execute OS commands.
Clone Of:
Environment:
Last Closed: 2022-03-10 19:02:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0339 0 None None None 2022-02-10 06:08:32 UTC
Red Hat Product Errata RHSA-2022:0483 0 None None None 2022-02-16 06:47:57 UTC
Red Hat Product Errata RHSA-2022:0491 0 None None None 2022-02-16 11:27:10 UTC
Red Hat Product Errata RHSA-2022:0555 0 None None None 2022-02-24 15:12:41 UTC
Red Hat Product Errata RHSA-2022:0565 0 None None None 2022-02-25 01:01:15 UTC

Description Michael Kaplan 2022-01-24 17:32:03 UTC
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.

Reference:

https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-1878

Comment 3 errata-xmlrpc 2022-02-10 06:08:30 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.9

Via RHSA-2022:0339 https://access.redhat.com/errata/RHSA-2022:0339

Comment 4 errata-xmlrpc 2022-02-16 06:47:54 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.8

Via RHSA-2022:0483 https://access.redhat.com/errata/RHSA-2022:0483

Comment 5 errata-xmlrpc 2022-02-16 11:27:08 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.7

Via RHSA-2022:0491 https://access.redhat.com/errata/RHSA-2022:0491

Comment 6 errata-xmlrpc 2022-02-24 15:12:39 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 3.11

Via RHSA-2022:0555 https://access.redhat.com/errata/RHSA-2022:0555

Comment 7 errata-xmlrpc 2022-02-25 01:01:13 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.6

Via RHSA-2022:0565 https://access.redhat.com/errata/RHSA-2022:0565

Comment 10 Product Security DevOps Team 2022-03-10 19:02:08 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-20617


Note You need to log in before you can comment on or make changes to this bug.