Medium severity · published Dec 18, 2024
CVE-2024-45338
Non-linear parsing of case-insensitive content in golang.org/x/net/html
5.3
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 65% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
golang.org/x/net/html · golang.org/x/net
before 0.33.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-45338
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-45338
go.dev
https://go.dev/cl/637536
go.dev
https://go.dev/issue/70906
groups.google.com
https://groups.google.com/g/golang-announce/c/wSCRmFnNmPA/m/Lvcd0mRMAwAJ
pkg.go.dev
https://pkg.go.dev/vuln/GO-2024-3333
security.netapp.com
https://security.netapp.com/advisory/ntap-20250221-0001/
More from golang.org/x/net/html
6.5
CVE-2026-25680
Invoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
6.1
CVE-2026-27136
Invoking duplicate attributes can cause XSS in golang.org/x/net/html
6.1
CVE-2026-25681
Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
6.1
CVE-2026-42502
Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
6.1
CVE-2026-42506
Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
