CVE-2022-41912
JSON

9.1critical

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

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
2.82% (higher than 87% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-j2jp-wvqg-wc2gGO-2022-1129

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

Product or packageVersionsReported by
crewjam saml< 0.4.9CVE List
github.com/crewjam/saml (Go)before 0.4.9GitHub Advisory Database, Go Vulnerability Database
saml_project samlbefore 0.4.9NVD

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

The crewjam/saml go library is vulnerable to an authentication bypass when processing SAML responses containing multiple Assertion elements.

Patches

This issue has been corrected in version 0.4.9.

Credit

This issue was reported by Felix Wilhelm from Google Project Zero.

Go Vulnerability Database

Authentication bypass is possible when processing SAML responses containing multiple Assertion elements.

NVD (es)

La librería Crewjam/saml go anterior a la versión 0.4.9 es vulnerable a una omisión de autenticación al procesar respuestas SAML que contienen múltiples elementos de afirmación. Este problema se ha corregido en la versión 0.4.9. No hay más workarounds que actualizar a una versión fija.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-41912 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-j2jp-wvqg-wc2g changed 2023-11-08CC-BY-4.0
Go Vulnerability DatabaseGO-2022-1129 changed 2024-05-20CC-BY-4.0
NVDCVE-2022-41912 changed 2026-06-17Public domain