CVEfocus › CVE database › CVE-2024-24790

CVE-2024-24790Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip

CVSS 9.8 CriticalEPSS 2.2% (higher than 83% of CVEs)Published 2024-06-05Updated 2025-02-13Assigner: Go

The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.

What to do

Fixed builds are available from AlmaLinux, Alpine, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, 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

60Fixed
39Fix pending
1Under investigation
16Will not fix
114Not 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 24.04golang-1.21Fixed1.21.9-1ubuntu0.1UBUNTU-CVE-2024-24790
Ubuntu 24.04golang-1.22Fixed1.22.2-2ubuntu0.1UBUNTU-CVE-2024-24790
Ubuntu 22.04golang-1.17Under investigationUBUNTU-CVE-2024-24790
Ubuntu 22.04golang-1.18Fixed1.18.1-1ubuntu1.2UBUNTU-CVE-2024-24790
Ubuntu 22.04golang-1.20Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 22.04golang-1.21Fixed1.21.1-1~ubuntu22.04.3UBUNTU-CVE-2024-24790
Ubuntu 22.04golang-1.22Fixed1.22.2-2~22.04.1UBUNTU-CVE-2024-24790
Ubuntu 20.04golang-1.13Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 20.04golang-1.14Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 20.04golang-1.16Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 20.04golang-1.18Fixed1.18.1-1ubuntu1~20.04.3UBUNTU-CVE-2024-24790
Ubuntu 20.04golang-1.20Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 20.04golang-1.21Fixed1.21.1-1~ubuntu20.04.3UBUNTU-CVE-2024-24790
Ubuntu 20.04golang-1.22Fixed1.22.2-2~20.04.1UBUNTU-CVE-2024-24790
Ubuntu 18.04golang-1.10Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 18.04golang-1.13Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 18.04golang-1.16Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 18.04golang-1.18Fix pending1.18.1-1ubuntu1~18.04.4+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-24790
Ubuntu 16.04golang-1.10Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 16.04golang-1.13Fix pendingUBUNTU-CVE-2024-24790
Ubuntu 16.04golang-1.18Fix pending1.18.1-1ubuntu1~16.04.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-24790
Ubuntu 14.04golang-1.10Fix pendingUBUNTU-CVE-2024-24790
Debian 12golang-1.19Fix pendingDEBIAN-CVE-2024-24790
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10buildah-testsNot affected
Red Hat Enterprise Linux 10butaneFix pending
Affected
Red Hat Enterprise Linux 10conmonNot affected
Red Hat Enterprise Linux 10delveWill not fix
Will not fix
Red Hat Enterprise Linux 10git-lfsFix pending
Affected
Red Hat Enterprise Linux 10go-toolsetFix pending
Affected
Red Hat Enterprise Linux 10golangFix pending
Affected
Red Hat Enterprise Linux 10golang-binFix pending
Affected
Red Hat Enterprise Linux 10golang-docsFix pending
Affected
Red Hat Enterprise Linux 10golang-github-openprinting-ipp-usbWill not fix
Will not fix
Red Hat Enterprise Linux 10golang-miscFix pending
Affected
Red Hat Enterprise Linux 10golang-raceFix pending
Affected
Red Hat Enterprise Linux 10golang-srcFix pending
Affected
Red Hat Enterprise Linux 10golang-testsFix pending
Affected
Red Hat Enterprise Linux 10grafanaFix pending
Affected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 10grafana-selinuxFix pending
Affected
Red Hat Enterprise Linux 10gvisor-tap-vsockNot affected
Red Hat Enterprise Linux 10gvisor-tap-vsock-gvforwarderNot affected
Red Hat Enterprise Linux 10ignitionFix pending
Affected
Red Hat Enterprise Linux 10ignition-edgeFix pending
Affected
Red Hat Enterprise Linux 10ignition-grubFix pending
Affected
Red Hat Enterprise Linux 10ignition-validateFix pending
Affected
Red Hat Enterprise Linux 10ipp-usbWill not fix
Will not fix
Red Hat Enterprise Linux 10oci-seccomp-bpf-hookNot affected
Red Hat Enterprise Linux 10osbuild-composerWill not fix
Will not fix
Red Hat Enterprise Linux 10osbuild-composer-coreWill not fix
Will not fix
Red Hat Enterprise Linux 10osbuild-composer-workerWill not fix
Will not fix
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 10rsyslogNot affected
Red Hat Enterprise Linux 10rsyslog-cryptoNot affected
Red Hat Enterprise Linux 10rsyslog-docNot affected
Red Hat Enterprise Linux 10rsyslog-elasticsearchNot affected
Red Hat Enterprise Linux 10rsyslog-gnutlsNot affected
Red Hat Enterprise Linux 10rsyslog-gssapiNot affected
Red Hat Enterprise Linux 10rsyslog-kafkaNot affected
Red Hat Enterprise Linux 10rsyslog-mmauditNot affected
Red Hat Enterprise Linux 10rsyslog-mmfieldsNot affected
Red Hat Enterprise Linux 10rsyslog-mmjsonparseNot affected
Red Hat Enterprise Linux 10rsyslog-mmkubernetesNot affected
Red Hat Enterprise Linux 10rsyslog-mmnormalizeNot affected
Red Hat Enterprise Linux 10rsyslog-mmsnmptrapdNot affected
Red Hat Enterprise Linux 10rsyslog-mysqlNot affected
Red Hat Enterprise Linux 10rsyslog-omamqp1Not affected
Red Hat Enterprise Linux 10rsyslog-opensslNot affected
Red Hat Enterprise Linux 10rsyslog-pgsqlNot affected
Red Hat Enterprise Linux 10rsyslog-relpNot affected
Red Hat Enterprise Linux 10rsyslog-snmpNot affected
Red Hat Enterprise Linux 10rsyslog-udpspoofNot affected
Red Hat Enterprise Linux 10skopeoNot affected
Red Hat Enterprise Linux 10skopeo-testsNot affected
Red Hat Enterprise Linux 10toolboxNot affected
Red Hat Enterprise Linux 10toolbox-testsNot affected
Red Hat Enterprise Linux 10weldr-clientWill not fix
Will not fix
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9butaneFix pending
Affected
Red Hat Enterprise Linux 9conmonNot affected
Red Hat Enterprise Linux 9containernetworking-pluginsNot affected
Red Hat Enterprise Linux 9git-lfsFixed0:3.6.1-1.el9RHSA-2025:7256
Red Hat Enterprise Linux 9go-toolsetFixed0:1.21.11-1.el9_4RHSA-2024:4212
Red Hat Enterprise Linux 9golangFixed0:1.21.11-1.el9_4RHSA-2024:4212
Red Hat Enterprise Linux 9golang-binFixed0:1.21.11-1.el9_4RHSA-2024:4212
Red Hat Enterprise Linux 9golang-docsFixed0:1.21.11-1.el9_4RHSA-2024:4212
Red Hat Enterprise Linux 9golang-miscFixed0:1.21.11-1.el9_4RHSA-2024:4212
Red Hat Enterprise Linux 9golang-srcFixed0:1.21.11-1.el9_4RHSA-2024:4212
Red Hat Enterprise Linux 9golang-testsFixed0:1.21.11-1.el9_4RHSA-2024:4212
Red Hat Enterprise Linux 9grafanaFixed0:10.2.6-4.el9RHSA-2024:9115
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat Enterprise Linux 9grafana-selinuxFixed0:10.2.6-4.el9RHSA-2024:9115
Red Hat Enterprise Linux 9ignitionFix pending
Affected
Red Hat Enterprise Linux 9ignition-edgeFix pending
Affected
Red Hat Enterprise Linux 9ignition-grubFix pending
Affected
Red Hat Enterprise Linux 9ignition-validateFix pending
Affected
Red Hat Enterprise Linux 9oci-seccomp-bpf-hookNot affected
Red Hat Enterprise Linux 9osbuild-composerWill not fix
Will not fix
Red Hat Enterprise Linux 9osbuild-composer-coreWill not fix
Will not fix
Red Hat Enterprise Linux 9osbuild-composer-dnf-jsonWill not fix
Will not fix
Red Hat Enterprise Linux 9osbuild-composer-workerWill not fix
Will not fix
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 9rsyslogNot affected
Red Hat Enterprise Linux 9rsyslog-cryptoNot affected
Red Hat Enterprise Linux 9rsyslog-docNot affected
Red Hat Enterprise Linux 9rsyslog-elasticsearchNot affected
Red Hat Enterprise Linux 9rsyslog-gnutlsNot affected
Red Hat Enterprise Linux 9rsyslog-gssapiNot affected
Red Hat Enterprise Linux 9rsyslog-kafkaNot affected
Red Hat Enterprise Linux 9rsyslog-logrotateNot affected
Red Hat Enterprise Linux 9rsyslog-mmauditNot affected
Red Hat Enterprise Linux 9rsyslog-mmfieldsNot affected
Red Hat Enterprise Linux 9rsyslog-mmjsonparseNot affected
Red Hat Enterprise Linux 9rsyslog-mmkubernetesNot affected
Red Hat Enterprise Linux 9rsyslog-mmnormalizeNot affected
Red Hat Enterprise Linux 9rsyslog-mmsnmptrapdNot affected
Red Hat Enterprise Linux 9rsyslog-mysqlNot affected
Red Hat Enterprise Linux 9rsyslog-omamqp1Not affected
Red Hat Enterprise Linux 9rsyslog-opensslNot affected
Red Hat Enterprise Linux 9rsyslog-pgsqlNot affected
Red Hat Enterprise Linux 9rsyslog-relpNot affected
Red Hat Enterprise Linux 9rsyslog-snmpNot affected
Red Hat Enterprise Linux 9rsyslog-udpspoofNot affected
Red Hat Enterprise Linux 9runcNot affected
Red Hat Enterprise Linux 9skopeoNot affected
Red Hat Enterprise Linux 9skopeo-testsNot affected
Red Hat Enterprise Linux 9toolboxNot affected
Red Hat Enterprise Linux 9toolbox-testsNot affected
Red Hat Enterprise Linux 9weldr-clientFix pending
Affected
Red Hat Enterprise Linux 9yggdrasilFix pending
Affected
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8conmonNot affected
Red Hat Enterprise Linux 8containernetworking-pluginsNot affected
Red Hat Enterprise Linux 8containers-commonNot affected
Red Hat Enterprise Linux 8delveFixed0:1.22.1-1.module+el8.10.0+22223+9d99ca85RHSA-2024:4237
Red Hat Enterprise Linux 8git-lfsWill not fix
Will not fix
Red Hat Enterprise Linux 8go-toolsetFixed
Affected
0:1.22.7-1.module+el8.10.0+22328+683b6a23RHSA-2024:4237
Red Hat Enterprise Linux 8golangFixed
Affected
0:1.21.11-1.module+el8.10.0+21986+2112108aRHSA-2024:8876
Red Hat Enterprise Linux 8golang-binFixed
Affected
0:1.21.11-1.module+el8.10.0+21986+2112108aRHSA-2024:8876
Red Hat Enterprise Linux 8golang-docsFixed
Affected
0:1.22.7-1.module+el8.10.0+22325+dc584f75RHSA-2024:4237
Red Hat Enterprise Linux 8golang-miscFixed
Affected
0:1.21.11-1.module+el8.10.0+21986+2112108aRHSA-2024:8876
Red Hat Enterprise Linux 8golang-raceFix pending
Affected
Red Hat Enterprise Linux 8golang-srcFixed
Affected
0:1.22.7-1.module+el8.10.0+22325+dc584f75RHSA-2024:4237
Red Hat Enterprise Linux 8golang-testsFixed
Affected
0:1.22.7-1.module+el8.10.0+22325+dc584f75RHSA-2024:4237
Red Hat Enterprise Linux 8grafanaFixed0:9.2.10-17.el8_10RHSA-2024:5291
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 8grafana-selinuxFixed0:9.2.10-17.el8_10RHSA-2024:5291
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookNot affected
Red Hat Enterprise Linux 8osbuild-composerWill not fix
Will not fix
Red Hat Enterprise Linux 8osbuild-composer-coreWill not fix
Will not fix
Red Hat Enterprise Linux 8osbuild-composer-dnf-jsonWill not fix
Will not fix
Red Hat Enterprise Linux 8osbuild-composer-workerWill not fix
Will not fix
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
Red Hat Enterprise Linux 8rsyslogNot affected
Red Hat Enterprise Linux 8rsyslog-cryptoNot affected
Red Hat Enterprise Linux 8rsyslog-docNot affected
Red Hat Enterprise Linux 8rsyslog-elasticsearchNot affected
Red Hat Enterprise Linux 8rsyslog-gnutlsNot affected
Red Hat Enterprise Linux 8rsyslog-gssapiNot affected
Red Hat Enterprise Linux 8rsyslog-kafkaNot affected
Red Hat Enterprise Linux 8rsyslog-mmauditNot affected
Red Hat Enterprise Linux 8rsyslog-mmfieldsNot affected
Red Hat Enterprise Linux 8rsyslog-mmjsonparseNot affected
Red Hat Enterprise Linux 8rsyslog-mmkubernetesNot affected
Red Hat Enterprise Linux 8rsyslog-mmnormalizeNot affected
Red Hat Enterprise Linux 8rsyslog-mmsnmptrapdNot affected
Red Hat Enterprise Linux 8rsyslog-mysqlNot affected
Red Hat Enterprise Linux 8rsyslog-omamqp1Not affected
Red Hat Enterprise Linux 8rsyslog-opensslNot affected
Red Hat Enterprise Linux 8rsyslog-pgsqlNot affected
Red Hat Enterprise Linux 8rsyslog-relpNot affected
Red Hat Enterprise Linux 8rsyslog-snmpNot affected
Red Hat Enterprise Linux 8rsyslog-udpspoofNot affected
Red Hat Enterprise Linux 8runcNot affected
Red Hat Enterprise Linux 8skopeoNot affected
Red Hat Enterprise Linux 8skopeo-testsNot affected
Red Hat Enterprise Linux 8toolboxNot affected
Red Hat Enterprise Linux 8toolbox-testsNot affected
Red Hat Enterprise Linux 8weldr-clientFix pending
Affected
AlmaLinux 9git-lfsFixed3.6.1-1.el9ALSA-2025:7256
AlmaLinux 9go-toolsetFixed1.21.11-1.el9_4ALSA-2024:4212
AlmaLinux 9golangFixed1.21.11-1.el9_4ALSA-2024:4212
AlmaLinux 9golang-binFixed1.21.11-1.el9_4ALSA-2024:4212
AlmaLinux 9golang-docsFixed1.21.11-1.el9_4ALSA-2024:4212
AlmaLinux 9golang-miscFixed1.21.11-1.el9_4ALSA-2024:4212
AlmaLinux 9golang-srcFixed1.21.11-1.el9_4ALSA-2024:4212
AlmaLinux 9golang-testsFixed1.21.11-1.el9_4ALSA-2024:4212
AlmaLinux 9grafanaFixed10.2.6-4.el9ALSA-2024:9115
AlmaLinux 9grafana-selinuxFixed10.2.6-4.el9ALSA-2024:9115
AlmaLinux 8delveFixed1.21.2-3.module_el8.10.0+3760+4dd778f9ALSA-2024:4237
AlmaLinux 8go-toolsetFixed1.21.11-1.module_el8.10.0+3863+bb82df69ALSA-2024:4237
AlmaLinux 8golangFixed1.21.11-1.module_el8.10.0+3863+bb82df69ALSA-2024:4237
AlmaLinux 8golang-binFixed1.21.11-1.module_el8.10.0+3863+bb82df69ALSA-2024:4237
AlmaLinux 8golang-docsFixed1.21.11-1.module_el8.10.0+3863+bb82df69ALSA-2024:4237
AlmaLinux 8golang-miscFixed1.21.11-1.module_el8.10.0+3863+bb82df69ALSA-2024:4237
AlmaLinux 8golang-srcFixed1.21.11-1.module_el8.10.0+3863+bb82df69ALSA-2024:4237
AlmaLinux 8golang-testsFixed1.21.11-1.module_el8.10.0+3863+bb82df69ALSA-2024:4237
AlmaLinux 8grafanaFixed9.2.10-17.el8_10ALSA-2024:5291
AlmaLinux 8grafana-selinuxFixed9.2.10-17.el8_10ALSA-2024:5291
Rocky Linux 9git-lfsFixed0:3.6.1-1.el9RLSA-2025:7256
Rocky Linux 9golangFixed0:1.21.11-1.el9_4RLSA-2024:4212
Rocky Linux 8delveFixed0:1.22.1-1.module+el8.10.0+1879+0cb86608RLSA-2024:4237
Rocky Linux 8go-toolsetFixed0:1.21.11-1.module+el8.10.0+1831+fc70fba6RLSA-2024:8876
Rocky Linux 8golangFixed0:1.22.7-1.module+el8.10.0+1879+0cb86608RLSA-2024:4237
Rocky Linux 8grafanaFixed0:9.2.10-17.el8_10RLSA-2024:5291
Alpine Linux 3.24goFixed1.22.4-r0ALPINE-CVE-2024-24790
Alpine Linux 3.23goFixed1.22.4-r0ALPINE-CVE-2024-24790
Alpine Linux 3.22goFixed1.22.4-r0ALPINE-CVE-2024-24790
Alpine Linux 3.21goFixed1.22.4-r0ALPINE-CVE-2024-24790
Alpine Linux 3.20goFixed1.22.4-r0ALPINE-CVE-2024-24790
Go librarystdlibFixed1.21.11GO-2024-2887

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.