What’s Vulnerable › Vulnerabilities
CVE-2024-45338: Non-linear parsing of case-insensitive content in golang.org/x/net/html
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-18 · updated 2026-06-17
- Weakness: CWE-1333
Description
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.
Affected products
- Golang.Org/X/Net: before 0.33.0 — fixed in 0.33.0
- golang.org/x/net/html: before 0.33.0 — fixed in 0.33.0
How to fix
Upgrade to a fixed version: Golang.Org/X/Net 0.33.0; golang.org/x/net/html 0.33.0. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/637536
- https://go.dev/issue/70906
- https://groups.google.com/g/golang-announce/c/wSCRmFnNmPA/m/Lvcd0mRMAwAJ
- https://pkg.go.dev/vuln/GO-2024-3333
- https://security.netapp.com/advisory/ntap-20250221-0001/
Get alerted when CVE-2024-45338 or the next vulnerability affects your stack