HIGH 7.5
GHSA-5mqj-xc49-246p
crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb
Quick fix
GHSA-5mqj-xc49-246p — github.com/crewjam/saml: upgrade to the fixed version with the command below.
go get github.com/crewjam/saml@v0.4.13 Details
Our use of flate.NewReader does not limit the size of the input. The user could 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go / github.com/crewjam/saml
Introduced in:
0 Fixed in: 0.4.13 Fix
go get github.com/crewjam/saml@v0.4.13