GHSA-5mqj-xc49-246p

Suggest an improvement
Source
https://github.com/advisories/GHSA-5mqj-xc49-246p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-5mqj-xc49-246p/GHSA-5mqj-xc49-246p.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-5mqj-xc49-246p
Aliases
Related
Published
2023-03-22T21:23:25Z
Modified
2023-11-01T05:01:39.650447Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb
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.

Database specific
{
    "nvd_published_at": "2023-03-22T20:15:00Z",
    "github_reviewed_at": "2023-03-22T21:23:25Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-770"
    ]
}
References

Affected packages

Go / github.com/crewjam/saml

Package

Name
github.com/crewjam/saml
View open source insights on deps.dev
Purl
pkg:golang/github.com/crewjam/saml

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.13