Skip to content
OpenAdvisories
Critical · 9.1 CVE-2022-41912 EUVD-2022-7368GHSA-j2jp-wvqg-wc2gGO-2022-1129

crewjam/saml go library is vulnerable to signature bypass via multiple Assertion elements

Published Nov 28, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
crewjam saml < 0.4.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS golang-github-crewjam-saml No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/crewjam/saml < 0.4.9 0.4.9 GHSA-j2jp-wvqg-wc2g

Advisories 2

References