CVE-2023-28119

Allocation of Resources Without Limits or Throttling in go/github.com/crewjam/saml

Identifiers

CVE-2023-28119, GHSA-5mqj-xc49-246p

Package Slug

go/github.com/crewjam/saml

Vulnerability

Allocation of Resources Without Limits or Throttling

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 Versions

All versions before 0.4.13

Solution

Upgrade to version 0.4.13 or above.

Last Modified

2023-03-23

source