Bug 2055797 (CVE-2022-25181) - CVE-2022-25181 workflow-cps-global-lib: Sandbox bypass vulnerability
Summary: CVE-2022-25181 workflow-cps-global-lib: Sandbox bypass vulnerability
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-25181
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: 2058747 2058748 2058749 2058750 2058751 2058752 2063898 2064010 2069142 2069143
Blocks: 2055807
TreeView+ depends on / blocked
 
Reported: 2022-02-17 16:29 UTC by Pedro Sampaio
Modified: 2022-07-28 02:25 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Jenkins. The Pipeline: Shared Groovy Libraries Plugin uses the same workspace directory for all checkouts of Pipeline libraries with the same name, regardless of the SCM used and the source of the library configuration. This flaw allows attackers with item/configure permission to execute arbitrary code in the context of the Jenkins controller, JVM, through crafted SCM contents if a global Pipeline library already exists.
Clone Of:
Environment:
Last Closed: 2022-03-29 11:45:12 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:1021 0 None None None 2022-03-29 07:01:52 UTC
Red Hat Product Errata RHSA-2022:1025 0 None None None 2022-03-28 11:54:20 UTC
Red Hat Product Errata RHSA-2022:1248 0 None None None 2022-04-13 13:47:53 UTC
Red Hat Product Errata RHSA-2022:1420 0 None None None 2022-04-27 07:41:53 UTC
Red Hat Product Errata RHSA-2022:1620 0 None None None 2022-05-04 18:19:41 UTC

Description Pedro Sampaio 2022-02-17 16:29:07 UTC
Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same workspace directory for all checkouts of Pipeline libraries with the same name regardless of the SCM being used and the source of the library configuration. This allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.

References:

https://www.jenkins.io/security/advisory/2022-02-15/

Comment 3 errata-xmlrpc 2022-03-28 11:54:18 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.10

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

Comment 4 errata-xmlrpc 2022-03-29 07:01:49 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.9

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

Comment 5 Product Security DevOps Team 2022-03-29 11:45:10 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-25181

Comment 6 errata-xmlrpc 2022-04-13 13:47:51 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.7

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

Comment 7 errata-xmlrpc 2022-04-27 07:41:51 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 3.11

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

Comment 8 errata-xmlrpc 2022-05-04 18:19:39 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.6

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


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