CVE-2022-41912 crewjam/saml go library is vulnerable to signature bypass via multiple Assertion elements
Attackers can bypass authentication in applications using the crewjam/saml Go library by sending SAML responses with multiple Assertion elements.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-41912?
CVE-2022-41912 is a critical authentication bypass vulnerability in crewjam saml, published on 28 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-287
Which versions are affected by CVE-2022-41912?
3 open source packages ship an affected version, including github.com/crewjam/saml. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/crewjam/saml Go | All versions | 0.4.9 |
github.com/crewjam/saml Go | All versions | 0.4.9 |
github.com/crewjam/saml Go | All versions | 0.4.9 |
Products include Saml Project Saml.
How do I fix CVE-2022-41912?
Upgrade github.com/crewjam/saml to 0.4.9 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2022-41912 being exploited?
There is no known exploitation of CVE-2022-41912 in the wild and no public exploit code.
Other vulnerabilities in crewjam saml
Sources
Also known as GHSA-j2jp-wvqg-wc2g, GO-2022-1129, UBUNTU-CVE-2022-41912.