GitHub Advisoryadvisory · Go

GHSA-5mqj-xc49-246p crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb

HIGH Published 2023-03-22 Modified 2023-03-22 Official page ↗
Aliases
CVE-2023-28119
Ecosystem
Go
Packages
github.com/crewjam/saml
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2023-03-22

Affected packages

• Go github.com/crewjam/saml: < 0.4.13 → fixed in 0.4.13

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.

Related

Alias · CVE (1)

  • CVE-2023-28119 The crewjam/saml go library contains a partial implementation of the SAML standard in golang. vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References