7.5high
crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.03% (higher than 63% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5mqj-xc49-246pGO-2023-1664
Description
The crewjam/saml go library contains a partial implementation of the SAML standard in golang. Prior to version 0.4.13, the package's use of `flate.NewReader` does not limit the size of the input. The user can pass more than 1 MB of data in the HTTP request to the processing functions, which will be decompressed server-side using the Deflate algorithm. Therefore, after repeating the same request multiple times, it is possible to achieve a reliable crash since the operating system kills the process. This issue is patched in version 0.4.13.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| crewjam saml | < 0.4.13 | CVE List |
| github.com/crewjam/saml (Go) | before 0.4.13 | GitHub Advisory Database, Go Vulnerability Database |
| saml_project saml | 0.4.12 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
The crewjam/saml go library contains a partial implementation of the SAML standard in golang. Prior to version 0.4.13, the package's use of `flate.NewReader` does not limit the size of the input. The user can pass more than 1 MB of data in the HTTP request to the processing functions, which will be decompressed server-side using the Deflate algorithm. Therefore, after repeating the same request multiple times, it is possible to achieve a reliable crash since the operating system kills the process. This issue is patched in version 0.4.13.
GitHub Advisory Database
Our use of flate.NewReader does not limit the size of the input. The user could pass more than 1 MB of data in the HTTP request to the processing functions, which will be decompressed server-side using the Deflate algorithm. Therefore, after repeating the same request multiple times, it is possible to achieve a reliable crash since the operating system kills the process.
Go Vulnerability Database
Denial of service via deflate compression bomb in github.com/crewjam/saml
References
| https://github.com/crewjam/saml/security/advisories/GHSA-5mqj-xc49-246p | advisory, vendor-advisory, web | |
| https://github.com/crewjam/saml/commit/8e9236867d176ad6338c870a84e2039aef8a5021 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-28119 | advisory | |
| https://github.com/crewjam/saml | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-28119 changed 2025-02-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5mqj-xc49-246p changed 2026-08-07 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1664 changed 2026-08-07 | CC-BY-4.0 |
| NVD | CVE-2023-28119 changed 2026-06-17 | Public domain |