Skip to content
OpenAdvisories
High · 7.5 CVE-2023-28119 EUVD-2023-0885GHSA-5mqj-xc49-246pGO-2023-1664

crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb

Published Mar 22, 2023 · Updated Feb 25, 2025 · Assigned by GitHub_M

Description

The crewjam/saml go library contains a partial implementation of the SAML standard in golang. Prior to version 0.4.13, the package's use of `flate.NewReader` does not limit the size of the input. The user can 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. This issue is patched in version 0.4.13.

Affected products

VendorProductAffectedFixed
crewjam saml < 0.4.13 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS golang-github-crewjam-saml No fix yet —
Ubuntu 22.04 LTS golang-github-crewjam-saml No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/crewjam/saml < 0.4.13 0.4.13 GHSA-5mqj-xc49-246p

Advisories 1

References