Go Vulnerability Database
GO-2023-1602
Denial of service via deflate decompression bomb in github.com/russellhaering/gosaml2
Details
A bug in SAML authentication library can result in Denial of Service attacks.
Attackers can craft a "deflate"-compressed request which will consume significantly more memory during processing than the size of the original request. This may eventually lead to memory exhaustion and the process being killed.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/russellhaering/gosaml2 | All versions before 0.9.0 (fixed in 0.9.0) |