{"id":"CVE-2023-28119","aliases":["CVE-2023-28119","GHSA-5mqj-xc49-246p","GO-2023-1664"],"related":[],"kind":"vulnerability","state":"published","title":"crewjam/saml vulnerable to Denial Of Service Via Deflate Decompression Bomb","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Denial of service via deflate compression bomb in github.com/crewjam/saml","format":"markdown","source":"go"}],"published":"2023-03-22T19:51:13.210Z","modified":"2026-08-07T08:12:30.812Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 0.4.13","status":"affected"}],"vendor":"crewjam","product":"saml","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.13"}],"ecosystem":"Go","package":"github.com/crewjam/saml","purl":"pkg:golang/github.com/crewjam/saml","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.13"}],"ecosystem":"Go","package":"github.com/crewjam/saml","purl":"pkg:golang/github.com/crewjam/saml","source":"go"},{"ranges":[{"status":"affected","version":"0.4.12"}],"vendor":"saml_project","product":"saml","cpe":"cpe:2.3:a:saml_project:saml:0.4.12:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/crewjam/saml/security/advisories/GHSA-5mqj-xc49-246p","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/crewjam/saml/commit/8e9236867d176ad6338c870a84e2039aef8a5021","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28119","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/crewjam/saml","tags":["package"],"sources":["ghsa"]}],"credits":["@nszetei"],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-02-25T14:30:13.116Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-28119","url":"https://www.cve.org/CVERecord?id=CVE-2023-28119","licence":"CVE Terms of Use","modified":"2025-02-25T14:51:31.420Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5mqj-xc49-246p","url":"https://github.com/advisories/GHSA-5mqj-xc49-246p","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:04.985Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1664","url":"https://pkg.go.dev/vuln/GO-2023-1664","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:30.812Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-28119","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28119","licence":"Public domain","modified":"2026-06-17T05:46:54.803Z"}],"updatedAt":"2026-11-25T22:58:22.584Z","epss":{"score":0.01031,"percentile":0.63002,"date":"2026-11-30T12:00:22.000Z"}}