Non-linear parsing of case-insensitive content in golang.org/x/net/html
Date: 2024-12
Affected: go/golang.org/x/net/html
Attack vector: dos
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-45338
CWE: CWE-770

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.


Mitigations:

Architectural layers (MAESTRO):