Denial of service via deflate decompression bomb in github.com/russellhaering/gosaml2
Published 3 Mar 2023 · Updated 20 May 2024
Is your project on an affected github.com/russellhaering/gosaml2?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <0.9.0
- Fixed in
- 0.9.0
go get github.com/russellhaering/gosaml2@v0.9.0Details
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.
Is GO-2023-1602 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/russellhaering/gosaml2, and gives you the command that fixes it.
More advisories for github.com/russellhaering/gosaml2
- LowGO-2026-4760CBC Padding Panic — Unauthenticated Process Crash in github.com/russellhaering/gosaml2 · 27 Mar 2026
- LowGO-2026-4764Unsigned SAML LogoutRequest Acceptance in gosaml2 in github.com/russellhaering/gosaml2 · 27 Mar 2026
- HighGHSA-pcgw-qcv5-h8chUnsigned SAML LogoutRequest Acceptance in gosaml2 · 18 Mar 2026
- HighGHSA-hwqm-qvj9-4jr2gosaml2 CBC Padding Panic — Unauthenticated Process Crash · 18 Mar 2026
- HighCVE-2020-7711github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference · 15 Nov 2022
- HighCVE-2020-7711goxmldsig vulnerable to crash on nil-pointer dereference caused by sending malformed XML signatures · 7 Oct 2022
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.