CVE-2023-26483
published medium CVSS 3.1 · 5.3gosaml2 vulnerable to Denial of Service via deflate decompression bomb
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| russellhaering | — | gosaml2< 0.9.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| russellhaering | gosaml2 | < 0.9.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-409 CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
References
4Provider assertions
3GitHub_M · cna
gosaml2 vulnerable to Denial of Service via deflate decompression bomb
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 84cb4cf2d8f2b30036e794e930982853927f000b2d92b12f161c1d020c95ab67
- Ingested
- 23 Sep 2026, 08:07:14 UTC
- Source record
- Official CVE record