CVE-2023-28119
JSON

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 packageVersionsReported by
crewjam saml< 0.4.13CVE List
github.com/crewjam/saml (Go)before 0.4.13GitHub Advisory Database, Go Vulnerability Database
saml_project saml0.4.12NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

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

Sources

SourceRecordLicence
CVE ListCVE-2023-28119 changed 2025-02-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-5mqj-xc49-246p changed 2026-08-07CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1664 changed 2026-08-07CC-BY-4.0
NVDCVE-2023-28119 changed 2026-06-17Public domain