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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | rclone | 1.69.0-r0 | ALPINE-CVE-2024-45338 |
| Alpine:v3.23 | rclone | 1.69.0-r0 | ALPINE-CVE-2024-45338 |
| Alpine:v3.24 | rclone | 1.69.0-r0 | ALPINE-CVE-2024-45338 |
| Alpine:v3.22 | yq-go | 4.45.1-r0 | ALPINE-CVE-2024-45338 |
| Alpine:v3.23 | yq-go | 4.45.1-r0 | ALPINE-CVE-2024-45338 |
| Alpine:v3.24 | yq-go | 4.45.1-r0 | ALPINE-CVE-2024-45338 |
| Debian:12 | golang-golang-x-net | no fix listed | DEBIAN-CVE-2024-45338 |
| Debian:13 | golang-golang-x-net | 1:0.27.0-2 | DEBIAN-CVE-2024-45338 |
| Debian:14 | golang-golang-x-net | 1:0.27.0-2 | DEBIAN-CVE-2024-45338 |
| Go | golang.org/x/net | 0.33.0 | GO-2024-3333 |
| Go | golang.org/x/net/html | 0.33.0 | GHSA-w32m-9786-jp63 |
| Ubuntu:22.04:LTS | adsys | 0.14.3~22.04ubuntu0.1 | UBUNTU-CVE-2024-45338 |
| Ubuntu:22.04:LTS | adsys | 0.14.3~22.04ubuntu0.1 | USN-7197-1 |
| Ubuntu:24.04:LTS | adsys | 0.14.3~24.04ubuntu0.1 | UBUNTU-CVE-2024-45338 |
| Ubuntu:24.04:LTS | adsys | 0.14.3~24.04ubuntu0.1 | USN-7197-1 |
| Ubuntu:22.04:LTS | golang-golang-x-net | 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1 | USN-8900-1 |
| Ubuntu:22.04:LTS | golang-golang-x-net | 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1 | UBUNTU-CVE-2024-45338 |
| Ubuntu:25.10 | golang-golang-x-net | no fix listed | UBUNTU-CVE-2024-45338 |
| Ubuntu:26.04:LTS | golang-golang-x-net | no fix listed | UBUNTU-CVE-2024-45338 |
| Ubuntu:26.10 | golang-golang-x-net | no fix listed | UBUNTU-CVE-2024-45338 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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