crewjam/saml · Security
crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb
- GHSA ID
- GHSA-5mqj-xc49-246p
- CVE ID
- CVE-2023-28119
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-770 · Allocation of Resources Without Limits or Throttling