Bug 2149181 (CVE-2022-41912) - CVE-2022-41912 crewjam/saml: Authentication bypass when processing SAML responses containing multiple Assertion elements
Summary: CVE-2022-41912 crewjam/saml: Authentication bypass when processing SAML respo...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-41912
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
: 2151477 (view as bug list)
Depends On: 2149186 2149187 2149188 2149423 2149525 2149526 2149527 2149528 2149529 2149530
Blocks: 2149099
TreeView+ depends on / blocked
 
Reported: 2022-11-29 06:03 UTC by Avinash Hanwate
Modified: 2023-06-15 16:01 UTC (History)
24 users (show)

Fixed In Version: crewjam/saml 0.4.9
Doc Type: If docs needed, set a value
Doc Text:
An authentication bypass flaw was discovered in the crewjam/saml go package. A remote unauthenticated attacker could trigger it by sending a SAML request. This would allow an escalation of privileges and then enable compromising system integrity.
Clone Of:
Environment:
Last Closed: 2022-12-15 19:18:38 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:9040 0 None None None 2022-12-14 22:40:31 UTC
Red Hat Product Errata RHSA-2022:9108 0 None None None 2023-01-04 06:46:41 UTC
Red Hat Product Errata RHSA-2023:0032 0 None None None 2023-01-10 07:53:12 UTC
Red Hat Product Errata RHSA-2023:0237 0 None None None 2023-01-25 11:52:22 UTC
Red Hat Product Errata RHSA-2023:0574 0 None None None 2023-02-13 04:31:54 UTC
Red Hat Product Errata RHSA-2023:0630 0 None None None 2023-02-07 18:36:57 UTC
Red Hat Product Errata RHSA-2023:3642 0 None None None 2023-06-15 16:01:19 UTC

Description Avinash Hanwate 2022-11-29 06:03:17 UTC
The crewjam/saml go library prior to version 0.4.9 is vulnerable to an authentication bypass when processing SAML responses containing multiple Assertion elements. This issue has been corrected in version 0.4.9. There are no workarounds other than upgrading to a fixed version.

https://github.com/crewjam/saml/commit/aee3fb1edeeaf1088fcb458727e0fd863d277f8b
https://github.com/crewjam/saml/security/advisories/GHSA-j2jp-wvqg-wc2g

Comment 1 Avinash Hanwate 2022-11-29 06:26:42 UTC
Created golang-github-crewjam-saml tracking bugs for this issue:

Affects: fedora-35 [bug 2149186]
Affects: fedora-36 [bug 2149187]
Affects: fedora-37 [bug 2149188]

Comment 10 ybuenos 2022-12-07 14:53:27 UTC
*** Bug 2151477 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2022-12-14 22:40:29 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8

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

Comment 12 Product Security DevOps Team 2022-12-15 19:18:36 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-41912

Comment 14 errata-xmlrpc 2023-01-04 06:46:40 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.11

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

Comment 15 errata-xmlrpc 2023-01-10 07:53:10 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.10

Via RHSA-2023:0032 https://access.redhat.com/errata/RHSA-2023:0032

Comment 16 errata-xmlrpc 2023-01-25 11:52:20 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.8

Via RHSA-2023:0237 https://access.redhat.com/errata/RHSA-2023:0237

Comment 17 errata-xmlrpc 2023-02-07 18:36:56 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.7 for RHEL 8

Via RHSA-2023:0630 https://access.redhat.com/errata/RHSA-2023:0630

Comment 18 errata-xmlrpc 2023-02-13 04:31:51 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.9

Via RHSA-2023:0574 https://access.redhat.com/errata/RHSA-2023:0574

Comment 19 errata-xmlrpc 2023-06-15 16:01:17 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 6.1

Via RHSA-2023:3642 https://access.redhat.com/errata/RHSA-2023:3642


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