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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | golang-github-crewjam-saml | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-crewjam-saml | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/crewjam/saml | < 0.4.13 | 0.4.13 | GHSA-5mqj-xc49-246p |
Advisories 1
- WID-SEC-2023-1088 Grafana: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 8, 2024