CVE-2022-41912
CRITICAL 9.8CVSS 3.1crewjam/saml vulnerable to signature bypass via multiple Assertion elements due to improper authentication
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.
- Published
- 28 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-j2jp-wvqg-wc2gGO-2022-1129
- Sources
- NVDJSONOSV GHSA-j2jp-wvqg-wc2gJSONOSV GO-2022-1129JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | saml_project | samlcpe:2.3:a:saml_project:saml:*:*:*:*:*:go:*:* |
< 0.4.9 | 0.4.9 |
| OSV | Go | github.com/crewjam/saml | < 0.4.9 | 0.4.9 |
References
- http://packetstormsecurity.com/files/170356/crewjam-saml-Signature-Bypass.html · Third Party Advisory, VDB Entry, WEB
- https://github.com/crewjam/saml/commit/aee3fb1edeeaf1088fcb458727e0fd863d277f8b · Patch, Third Party Advisory, WEB, FIX
- https://github.com/crewjam/saml/security/advisories/GHSA-j2jp-wvqg-wc2g · Third Party Advisory, WEB
- https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-41912 · ADVISORY
- https://github.com/crewjam/saml · PACKAGE
- https://github.com/crewjam/saml/releases/tag/v0.4.9 · WEB
- https://pkg.go.dev/vuln/GO-2022-1129 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 28 Nov 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Nov 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Nov 2022)