GitHub Advisory Database
GHSA-5mqj-xc49-246p
crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/crewjam/saml | All versions before 0.4.13 (fixed in 0.4.13) |