Vulnerability · Published Nov 28, 2022 · Assigned by GitHub_M

CVE-2022-41912crewjam/saml go library is vulnerable to signature bypass via multiple Assertion elements

Critical 9.1

In plain English

A critical-severity improper authentication in saml from crewjam. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)2.3%top 16.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/crewjam/saml0.4.9GHSA-j2jp-wvqg-wc2g
Gogithub.com/crewjam/saml0.4.9GO-2022-1129
Ubuntu:22.04:LTSgolang-github-crewjam-samlno fix listedUBUNTU-CVE-2022-41912

Affected products (as reported)

VendorProductVersions
crewjam saml < 0.4.9

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References