cve.bz

CVE-2024-24790 golang go

9.8 criticalEPSS 2.0%Fix available

Critical (9.8) in golang go. EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.21.11, 1.22.4.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-08-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-24790 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-24790?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-24790?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-24790 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library net/netipbefore 1.21.11
Go standard library net/netipfrom 1.22.0-0 before 1.22.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2024-2887Gostdlib<1.21.11
>=1.22.0-0 <1.22.4
1.21.11, 1.22.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2024-24790
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2024-24790
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.20no fix listedUBUNTU-CVE-2024-24790
Ubuntu20.04:LTSgolang-1.181.18.1-1ubuntu1~20.04.3UBUNTU-CVE-2024-24790 USN-7109-1
Ubuntu20.04:LTSgolang-1.211.21.1-1~ubuntu20.04.3UBUNTU-CVE-2024-24790 USN-6886-1
Ubuntu20.04:LTSgolang-1.221.22.2-2~20.04.1UBUNTU-CVE-2024-24790
Ubuntu22.04:LTSgolang-1.17, golang-1.20no fix listedUBUNTU-CVE-2024-24790
Ubuntu22.04:LTSgolang-1.181.18.1-1ubuntu1.2UBUNTU-CVE-2024-24790 USN-7109-1
Ubuntu22.04:LTSgolang-1.211.21.1-1~ubuntu22.04.3UBUNTU-CVE-2024-24790 USN-6886-1
Ubuntu22.04:LTSgolang-1.221.22.2-2~22.04.1UBUNTU-CVE-2024-24790 USN-6886-1
Ubuntu24.04:LTSgolang-1.211.21.9-1ubuntu0.1UBUNTU-CVE-2024-24790 USN-6886-1
Ubuntu24.04:LTSgolang-1.221.22.2-2ubuntu0.1UBUNTU-CVE-2024-24790 USN-6886-1
UbuntuPro:16.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2024-24790
4 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatansible_automation_platform:2.4::el8automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.5.11-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:4.2.16-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el8python39-pulpcore, python3x-pulpcore0:3.28.32-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8python39-urllib3, python3x-urllib30:1.26.20-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8receptor, receptorctl0:1.4.8-1.1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.5.11-1.el9apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:4.2.16-1.el9apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9python-pulpcore, python3-pulpcore0:3.28.32-1.el9apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9python-urllib3, python3-urllib30:1.26.20-1.el9apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9receptor, receptorctl0:1.4.8-1.1.el9apRHSA-2024:6765
Red Hatansible_automation_platform_developer:2.4::el8automation-controller, automation-controller-cli0:4.5.11-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform_developer:2.4::el9automation-controller, automation-controller-cli0:4.5.11-1.el9apRHSA-2024:6765
57 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 10 morecontainer-suseconnect2.5.0-150000.4.55.1SUSE-SU-2024:3360-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Development Tools 15 SP5 and 2 morego1.21-openssl1.21.13.1-150000.1.11.1SUSE-SU-2024:3089-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP3, Linux Enterprise Module for Public Cloud 15 SP4 and 2 moregoogle-osconfig-agent20250115.01-150000.1.41.1SUSE-SU-2025:0302-1
SUSELinux Enterprise Module for Development Tools 15 SP5go1.22-openssl1.22.7.1-150000.1.3.1SUSE-SU-2024:3772-1
SUSELinux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Module for Development Tools 15 SP6go1.211.21.11-150000.1.36.1SUSE-SU-2024:1969-1
SUSELinux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Module for Development Tools 15 SP6go1.221.22.4-150000.1.18.1SUSE-SU-2024:1970-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.21-openssl1.21.13.1-150600.16.3.1SUSE-SU-2024:3755-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.22-openssl1.22.7.1-150600.13.3.1SUSE-SU-2024:3938-1
SUSELinux Enterprise Module for Public Cloud 12google-osconfig-agent20250115.01-1.32.1SUSE-SU-2025:0377-1
SUSELinux Enterprise Software Development Kit 12 SP5go1.211.21.11-1.36.1SUSE-SU-2024:1936-1
SUSELinux Enterprise Software Development Kit 12 SP5go1.221.22.4-1.12.1SUSE-SU-2024:1935-1
openSUSELeap 15.5go1.21-openssl1.21.13.1-150000.1.11.1SUSE-SU-2024:3089-1
openSUSELeap 15.5go1.22-openssl1.22.7.1-150000.1.3.1SUSE-SU-2024:3772-1
openSUSELeap 15.5, Leap 15.6go1.211.21.11-150000.1.36.1SUSE-SU-2024:1969-1
openSUSELeap 15.5, Leap 15.6go1.221.22.4-150000.1.18.1SUSE-SU-2024:1970-1
openSUSELeap 15.6go1.21-openssl1.21.13.1-150600.16.3.1SUSE-SU-2024:3755-1
openSUSELeap 15.6go1.22-openssl1.22.7.1-150600.13.3.1SUSE-SU-2024:3938-1
openSUSELeap 15.6google-osconfig-agent20250115.01-150000.1.41.1SUSE-SU-2025:0302-1
openSUSETumbleweedgo1.211.21.11-1.1openSUSE-SU-2024:14023-1
openSUSETumbleweedgo1.221.22.4-1.1openSUSE-SU-2024:14020-1
openSUSETumbleweedgoogle-osconfig-agent20250115.01-1.1openSUSE-SU-2025:14723-1
openSUSETumbleweedhelmfile0.166.0-1.1openSUSE-SU-2024:14077-1
openSUSETumbleweedkubelogin0.1.4-1.1openSUSE-SU-2024:14185-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8delve1.21.2-3.module_el8.10.0+3760+4dd778f9ALSA-2024:4237
AlmaLinux8golang, go-toolset, golang-bin and 4 more1.21.11-1.module_el8.10.0+3863+bb82df69ALSA-2024:4237
AlmaLinux8grafana, grafana-selinux9.2.10-17.el8_10ALSA-2024:5291
AlmaLinux9git-lfs3.6.1-1.el9ALSA-2025:7256
AlmaLinux9golang, go-toolset, golang-bin and 4 more1.21.11-1.el9_4ALSA-2024:4212
AlmaLinux9grafana, grafana-selinux10.2.6-4.el9ALSA-2024:9115
Rocky Linux8delve0:1.21.2-3.module+el8.10.0+1814+f68f8a63RLSA-2024:4237
Rocky Linux8delve0:1.22.1-1.module+el8.10.0+1879+0cb86608RLSA-2024:8876
Rocky Linux8golang, go-toolset0:1.21.11-1.module+el8.10.0+1831+fc70fba6RLSA-2024:4237
Rocky Linux8golang, go-toolset0:1.22.7-1.module+el8.10.0+1879+0cb86608RLSA-2024:8876
Rocky Linux8grafana0:9.2.10-17.el8_10RLSA-2024:5291
Rocky Linux9git-lfs0:3.6.1-1.el9RLSA-2025:7256
Rocky Linux9golang0:1.21.11-1.el9_4RLSA-2024:4212
Alpinev3.20, v3.21, v3.22 and 2 morego1.22.4-r0ALPINE-CVE-2024-24790
Azure Linux2golang1.18.8-4AZL-42409
Azure Linux2golang1.21.11-1AZL-42403
Azure Linux2golang1.22.3-1AZL-42395
Azure Linux2msft-golang1.21.6-1AZL-42386
Azure Linux3golangno fix listedAZL-79050 AZL-98679
Alpaquita23go1.21.12-r0BELL-CVE-2024-24790
Alpaquitastreamgo1.22.4-r1BELL-CVE-2024-24790
BellSoft Hardened Containers23go1.21.12-r0BELL-CVE-2024-24790
BellSoft Hardened Containersstreamgo1.22.4-r1BELL-CVE-2024-24790

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This CVE has been marked as moderate as for our products a network-based attack vector is simply impossible when it comes to golang code,apart from that as per CVE flaw analysis reported by golang, this only affects integrity and confidentiality and has no effect on availability, hence CVSS has been marked as such.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-db-rhel8:3.0.0-7Fixed 2024-07-22RHSA-2024:4697
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-grafana-dashboard-rhel8:3.0.0-6Fixed 2024-07-22RHSA-2024:4697
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-operator-bundle:3.0.0-6Fixed 2024-07-22RHSA-2024:4697
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8:3.0.0-7Fixed 2024-07-22RHSA-2024:4697
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-reports-rhel8:3.0.0-6Fixed 2024-07-22RHSA-2024:4697
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-rhel8:3.0.0-6Fixed 2024-07-22RHSA-2024:4697
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-rhel8-operator:3.0.0-6Fixed 2024-07-22RHSA-2024:4697
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-storage-rhel8:3.0.0-7Fixed 2024-07-22RHSA-2024:4697
Cryostat 3 on RHEL 8cryostat-tech-preview/jfr-datasource-rhel8:3.0.0-6Fixed 2024-07-22RHSA-2024:4697
KDO-5.1-RHEL-9kube-descheduler-operator/descheduler-rhel9:v5.1-17Fixed 2024-10-23RHSA-2024:6341
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel8Will not fix
Cost Management Metrics Operatorcostmanagement-metrics-operator-containerNot affected
Cryostat 2cryostat-tech-preview/cryostat-rhel8-operatorAffected
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel8-operatorWill not fix
Machine Deletion Remediation Operatorworkload-availability/machine-deletion-remediation-rhel8-operatorAffected
Migration Toolkit for Applications 6mta/mta-hub-rhel9Will not fix
Migration Toolkit for Applications 7mta/mta-cli-rhel9Will not fix
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-api-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/hive-rhel8Not affected
NBDE Tang Servertang-operator-containerWill not fix
586 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-24790.

References

Check your stackJSON