Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/crewjam/saml
  4. ›
  5. CVE-2023-28119

CVE-2023-28119: Allocation of Resources Without Limits or Throttling

March 22, 2023 (updated November 9, 2023)

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.

References

  • github.com/advisories/GHSA-5mqj-xc49-246p
  • github.com/crewjam/saml/commit/8e9236867d176ad6338c870a84e2039aef8a5021
  • github.com/crewjam/saml/security/advisories/GHSA-5mqj-xc49-246p
  • nvd.nist.gov/vuln/detail/CVE-2023-28119

Code Behaviors & Features

Detect and mitigate CVE-2023-28119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.13

Fixed versions

  • v0.4.13

Solution

Upgrade to version 0.4.13 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/crewjam/saml/CVE-2023-28119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.