CVEfocus › CVE database › CVE-2024-45338

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

CVSS 5.3 MediumEPSS 1.5% (higher than 74% of CVEs)Published 2024-12-18Updated 2025-02-21Assigner: Go

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.

CWE-1333

What to do

Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
8Fix pending
1Will not fix
41Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-golang-x-netFix pendingUBUNTU-CVE-2024-45338
Ubuntu 26.04golang-golang-x-netFix pendingUBUNTU-CVE-2024-45338
Ubuntu 26.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 25.10containerdNot affected
vulnerable_code_not_present
Ubuntu 25.10golang-golang-x-netWill not fix
google-guest-agent, containerd, and lxd do not contain the vulnerable code. google-guest-agent, adsys, juju-core and lxd contain a vendored copy of…
UBUNTU-CVE-2024-45338
Ubuntu 25.10google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 24.04adsysFixed0.14.3~24.04ubuntu0.1UBUNTU-CVE-2024-45338
Ubuntu 24.04golang-golang-x-netFix pending1:0.21.0+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45338
Ubuntu 24.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 22.04adsysFixed0.14.3~22.04ubuntu0.1UBUNTU-CVE-2024-45338
Ubuntu 22.04containerdNot affected
vulnerable_code_not_present
Ubuntu 22.04golang-golang-x-netFixed1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1UBUNTU-CVE-2024-45338
Ubuntu 22.04google-guest-agentNot affected
vulnerable_code_not_present
Ubuntu 20.04adsysFixed0.9.2~20.04.2ubuntu0.1UBUNTU-CVE-2024-45338
Ubuntu 20.04golang-golang-x-net-devFix pending1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45338
Ubuntu 20.04lxdNot affected
vulnerable_code_not_present
Ubuntu 18.04golang-golang-x-net-devFix pending1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45338
Ubuntu 16.04golang-golang-x-net-devFix pending1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45338
Ubuntu 16.04juju-coreFix pending2.3.7-0ubuntu0.16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-45338
Debian 14golang-golang-x-netFixed1:0.27.0-2DEBIAN-CVE-2024-45338
Debian 13golang-golang-x-netFixed1:0.27.0-2DEBIAN-CVE-2024-45338
Debian 12golang-golang-x-netFix pendingDEBIAN-CVE-2024-45338
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10osbuild-composerNot affected
Red Hat Enterprise Linux 10osbuild-composer-coreNot affected
Red Hat Enterprise Linux 10osbuild-composer-workerNot affected
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10podman-dockerNot affected
Red Hat Enterprise Linux 10podman-remoteNot affected
Red Hat Enterprise Linux 10podman-testsNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9osbuild-composerNot affected
Red Hat Enterprise Linux 9osbuild-composer-coreNot affected
Red Hat Enterprise Linux 9osbuild-composer-dnf-jsonNot affected
Red Hat Enterprise Linux 9osbuild-composer-workerNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 8osbuild-composerNot affected
Red Hat Enterprise Linux 8osbuild-composer-coreNot affected
Red Hat Enterprise Linux 8osbuild-composer-dnf-jsonNot affected
Red Hat Enterprise Linux 8osbuild-composer-workerNot affected
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Alpine Linux 3.24rcloneFixed1.69.0-r0ALPINE-CVE-2024-45338
Alpine Linux 3.24yq-goFixed4.45.1-r0ALPINE-CVE-2024-45338
Alpine Linux 3.23rcloneFixed1.69.0-r0ALPINE-CVE-2024-45338
Alpine Linux 3.23yq-goFixed4.45.1-r0ALPINE-CVE-2024-45338
Alpine Linux 3.22rcloneFixed1.69.0-r0ALPINE-CVE-2024-45338
Alpine Linux 3.22yq-goFixed4.45.1-r0ALPINE-CVE-2024-45338
Go librarygolang.org/x/netFixed0.33.0GO-2024-3333
Go librarygolang.org/x/net/htmlFixed0.33.0GHSA-w32m-9786-jp63

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.