Loading advisory.
Loading advisory.
gosaml2 vulnerable to Denial Of Service Via Deflate Decompression Bomb
SAML Service Providers using this library for SAML authentication support are likely susceptible to Denial of Service attacks.
Published 2023-03-02 23:12 UTC · Modified 2026-09-10 03:49 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/russellhaering/gosaml2 | Go | < 0.9.0 | 0.9.0 | go get github.com/russellhaering/gosaml2@v0.9.0 |
SAML Service Providers using this library for SAML authentication support are likely susceptible to Denial of Service attacks. A bug in this library enables attackers to 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.
The maximum compression ratio achievable with deflate is 1032:1, so by limiting the size of bodies passed to gosaml2, limiting the rate and concurrency of calls, and ensuring that lots of memory is available to the process it may be possible to help Go's garbage collector "keep up".
Implementors are encouraged not to rely on this.
This issue is addressed in v0.9.0
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.010 on 2026-11-24 to 0.010 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.010 | first score | v2026.06.15 |
| 2026-11-26 | 0.010 | 0.010 | v2026.06.15 |