gosaml2 vulnerable to Denial of Service via deflate decompression bomb
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
gosaml2 is a Pure Go implementation of SAML 2.0. SAML Service Providers using this library for SAML authentication support are likely susceptible to Denial of Service attacks. A bug in this library enables attackers to craft a `deflate`-compressed request which will consume significantly more memory during processing than the size of the original request. This may eventually lead to memory exhaustion and the process being killed. The maximum compression ratio achievable with `deflate` is 1032:1, so by limiting the size of bodies passed to gosaml2, limiting the rate and concurrency of calls, and ensuring that lots of memory is available to the process it _may_ be possible to help Go's garbage collector "keep up". Implementors are encouraged not to rely on this. This issue is fixed in version 0.9.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| russellhaering | gosaml2 | before 0.9.0 | 0.9.0 | Patch available | CNA |
| — | github.com/russellhaering/gosaml2 (Go) | before 0.9.0 | 0.9.0 | Patch available | GHSA-6gc3-crp7-25w5 |
- gosaml2 Vendorrussellhaering Affected before 0.9.0 Fixed in 0.9.0 Patch available CNA
- github.com/russellhaering/gosaml2 (Go) Vendor— Affected before 0.9.0 Fixed in 0.9.0 Patch available GHSA-6gc3-crp7-25w5
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gosaml2_project:gosaml2:*:*:*:*:*:*:*:* | before 0.9.0 | Vulnerable | Gosaml2 Project |
- cpe:2.3:a:gosaml2_project:gosaml2:*:*:*:*:*:*:*:* Versions before 0.9.0 Vulnerable ·Gosaml2 Project
Remediation
- Fix · CNA gosaml2 (russellhaering) Fixed in 0.9.0
- Fix · GHSA-6gc3-crp7-25w5 github.com/russellhaering/gosaml2 (Go) Fixed in 0.9.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Security 3 | Affected | No fix yet |
Not affected: 1 product
- Red Hat Advanced Cluster Security 4
Timeline
- 2026-10-02 Threatist record created from CVE-2023-26483
- 2026-10-03 Alias added: GHSA-6gc3-crp7-25w5
References
Advisory 3
More Gosaml2 Project Gosaml2 vulnerabilities
- TI-2020-06250 Denial of service (DoS) in github.com/russellhaering/gosaml2 CVSS 3.1HIGH 7.5
Sources
- CVE-2023-26483 · CVE Program
- CVE-2023-26483 · NVD
- FIRST EPSS
- GHSA-6gc3-crp7-25w5 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-26483 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences