CVE-2023-26483gosaml2 vulnerable to Denial of Service via deflate decompression bomb
- 5.3MediumCVSS base score
- 0.96%Exploitation in 30 daysEPSS · top 38% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 8 days later
· 8 days later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
- EPSS (exploitation in 30 days)
- 0.96% · top 38% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
- affected < 0.9.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/russellhaering/gosaml2GHSA-6gc3-crp7-25w5 (opens in a new tab)
References
References4
- https://github.com/russellhaering/gosaml2/security/advisories/GHSA-6gc3-crp7-25w5 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/russellhaering/gosaml2/commit/f9d66040241093e8702649baff50cc70d2c683c0 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/russellhaering/gosaml2/releases/tag/v0.9.0 (opens in a new tab)x_refsource_MISCx_transferred
- https://pkg.go.dev/vuln/GO-2023-1602 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-0904 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6gc3-crp7-25w5 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-26483)Record last updated .