Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/net
  4. ›
  5. CVE-2024-45338

CVE-2024-45338: Non-linear parsing of case-insensitive content in golang.org/x/net/html

December 18, 2024

An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service.

References

  • cs.opensource.google/go/x/net
  • github.com/advisories/GHSA-w32m-9786-jp63
  • github.com/golang/go/issues/70906
  • go.dev/cl/637536
  • go.dev/issue/70906
  • groups.google.com/g/golang-announce/c/wSCRmFnNmPA/m/Lvcd0mRMAwAJ
  • nvd.nist.gov/vuln/detail/CVE-2024-45338
  • pkg.go.dev/vuln/GO-2024-3333

Code Behaviors & Features

Detect and mitigate CVE-2024-45338 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.33.0

Fixed versions

  • 0.33.0

Solution

Upgrade to version 0.33.0 or above.

Weakness

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

Source file

go/golang.org/x/net/CVE-2024-45338.yml

Spotted a mistake? Edit the file on GitLab.

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

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