Vulnerability · Published Dec 18, 2024 · Assigned by Go

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

Medium 5.3

In plain English

A medium-severity regular-expression denial of service in golang.org/x/net/html from golang.org/x/net. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.1%top 35.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.22rclone1.69.0-r0ALPINE-CVE-2024-45338
Alpine:v3.23rclone1.69.0-r0ALPINE-CVE-2024-45338
Alpine:v3.24rclone1.69.0-r0ALPINE-CVE-2024-45338
Alpine:v3.22yq-go4.45.1-r0ALPINE-CVE-2024-45338
Alpine:v3.23yq-go4.45.1-r0ALPINE-CVE-2024-45338
Alpine:v3.24yq-go4.45.1-r0ALPINE-CVE-2024-45338
Debian:12golang-golang-x-netno fix listedDEBIAN-CVE-2024-45338
Debian:13golang-golang-x-net1:0.27.0-2DEBIAN-CVE-2024-45338
Debian:14golang-golang-x-net1:0.27.0-2DEBIAN-CVE-2024-45338
Gogolang.org/x/net0.33.0GO-2024-3333
Gogolang.org/x/net/html0.33.0GHSA-w32m-9786-jp63
Ubuntu:22.04:LTSadsys0.14.3~22.04ubuntu0.1UBUNTU-CVE-2024-45338
Ubuntu:22.04:LTSadsys0.14.3~22.04ubuntu0.1USN-7197-1
Ubuntu:24.04:LTSadsys0.14.3~24.04ubuntu0.1UBUNTU-CVE-2024-45338
Ubuntu:24.04:LTSadsys0.14.3~24.04ubuntu0.1USN-7197-1
Ubuntu:22.04:LTSgolang-golang-x-net1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1USN-8900-1
Ubuntu:22.04:LTSgolang-golang-x-net1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1UBUNTU-CVE-2024-45338
Ubuntu:25.10golang-golang-x-netno fix listedUBUNTU-CVE-2024-45338
Ubuntu:26.04:LTSgolang-golang-x-netno fix listedUBUNTU-CVE-2024-45338
Ubuntu:26.10golang-golang-x-netno fix listedUBUNTU-CVE-2024-45338

Affected products (as reported)

VendorProductVersions
golang.org/x/net golang.org/x/net/html 0 – before 0.33.0

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References