CVE-2022-41912 json
crewjam/saml go library is vulnerable to signature bypass via multiple Assertion elements
published 2022-11-28 3 y ago modified 2026-06-17 4 mo ago also GHSA-j2jp-wvqg-wc2g , GO-2022-1129 , EUVD-2022-7368
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/crewjam/saml 0.4.9
- saml_project saml 0.4.9
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-41912 updated cvss 9.1
crewjam/saml: Authentication bypass when processing SAML responses containing multiple Assertion elements
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8affected: no fix available
-
Red Hat Ceph Storage 6.1 Tools rhceph/rhceph-6-dashboard-rhel9 6-75fixed: vendor fix RHSA-2023:3642
-
Red Hat OpenShift Container Platform 4.8 openshift4/ose-grafana v4.8.0-202301100925.p0.g7156d02.assembly.streamfixed: vendor fix RHSA-2023:0237
-
Red Hat OpenShift Container Platform 4.9 openshift4/ose-grafana v4.9.0-202301301454.p0.g06135eb.assembly.streamfixed: vendor fix RHSA-2023:0574
-
Red Hat OpenShift Container Platform 4.10 openshift4/ose-grafana v4.10.0-202301040925.p0.gca476d4.assembly.streamfixed: vendor fix RHSA-2023:0032
-
Red Hat OpenShift Container Platform 4.11 openshift4/ose-grafana v4.11.0-202212190555.p0.gbc05ec1.assembly.streamfixed: vendor fix RHSA-2022:9108
-
Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Ceph Storage 6.1 Tools rhceph/rhceph-6-rhel9 6-177, rhceph/keepalived-rhel9 2.2.4-3, rhceph/snmp-notifier-rhel9 1.2.1-36, rhceph/rhceph-haproxy-rhel9 2.4.17-4, rhceph/rhceph-promtail-rhel9 v2.4.0-5 Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat OpenShift Container Platform 4.8 openshift4/ose-jenkins v4.8.0-202301181045.p0.gb6ce8e7.assembly.stream, openshift4/ose-jenkins-agent-base v4.8.0-202301181045.p0.gb6ce8e7.assembly.stream, openshift4/ose-jenkins-agent-maven v4.8.0-202301181045.p0.gb6ce8e7.assembly.stream, openshift4/ose-csi-driver-nfs-rhel8 v4.8.0-202301170945.p0.g583088e.assembly.stream, openshift4/ose-baremetal-installer-rhel8 v4.8.0-202301170945.p0.gd568517.assembly.stream, openshift4/ose-jenkins-agent-nodejs-12-rhel8 v4.8.0-202301181045.p0.gb6ce8e7.assembly.stream, +2 more Red Hat OpenShift Container Platform 4.9 openshift4/ose-cli v4.9.0-202301301454.p0.g88cfeb4.assembly.stream, openshift4/ose-pod v4.9.0-202301301454.p0.gc763d11.assembly.stream, openshift4/ose-etcd v4.9.0-202301301454.p0.g9aaa8c6.assembly.stream, openshift4/ose-tests v4.9.0-202301301454.p0.g9830fc9.assembly.stream, openshift4/ose-console v4.9.0-202301301454.p0.g04f9d38.assembly.stream, openshift4/ose-coredns v4.9.0-202301302354.p0.ge332b9e.assembly.stream, +148 more Red Hat OpenShift Container Platform 4.10 openshift4/ose-coredns v4.10.0-202212221024.p0.g6c03251.assembly.stream, openshift4/ose-jenkins v4.10.0-202212221134.p0.g30f4d11.assembly.stream, openshift4/ose-installer v4.10.0-202212221404.p0.gdd5f512.assembly.stream, openshift4/ose-ovn-kubernetes v4.10.0-202212250224.p0.g8bafd8c.assembly.stream, openshift4/network-tools-rhel8 v4.10.0-202212250224.p0.gbcfec9c.assembly.stream, openshift4/ose-installer-artifacts v4.10.0-202212221404.p0.gdd5f512.assembly.stream, +3 morenot affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenShift Container Platform 4.11 openshift4/metallb-rhel8 v4.11.0-202212161404.p0.g5eb091e.assembly.stream, openshift4/ose-descheduler v4.11.0-202212141745.p0.g8157de3.assembly.stream, openshift4/ose-ptp-operator v4.11.0-202212072254.p0.g48efce6.assembly.stream, openshift4/ose-cloud-event-proxy v4.11.0-202212072254.p0.g3e5a7cc.assembly.stream, openshift4/metallb-rhel8-operator v4.11.0-202212161404.p0.g64ad620.assembly.stream, openshift4/cloud-event-proxy-rhel8 v4.11.0-202212072254.p0.g3e5a7cc.assembly.stream, +10 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
2.34% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/crewjam/saml | <0.4.9 |
0.4.9 |
Affected products
- crewjam saml
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/crewjam/saml/commit/aee3fb1edeeaf1088fcb458727e0fd863d277f8b
web, patch, third-party-advisory
-
github.com
/crewjam/saml/security/advisories/GHSA-j2jp-wvqg-wc2g
web, third-party-advisory
-
packetstormsecurity.com
/files/170356/crewjam-saml-Signature-Bypass.html
web, third-party-advisory, vdb-entry
-
github.com
/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41912
advisory
-
github.com
/crewjam/saml
package
-
github.com
/crewjam/saml/releases/tag/v0.4.9
web
-
pkg.go.dev
/vuln/GO-2022-1129
web
Sources
- CVE List CVE-2022-41912
- GitHub Advisory GHSA-j2jp-wvqg-wc2g
- NVD CVE-2022-41912
- OSV GO-2022-1129
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.