Skip to content
Fencer Vulns
critical 9.8

CVE-2024-24790 json

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

published 2024-06-04 2 y ago modified 2026-09-08 2 mo ago also BIT-golang-2024-24790 , EUVD-2024-22167 , GO-2024-2887

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami golang 1.21.11, 1.22.4
  • go stdlib 1.21.11, 1.22.4
  • Go standard library net/netip 1.21.11, 1.22.4
  • golang go 1.21.11, 1.22.4
  • golang-1.18 Ubuntu 20.04 LTS 1.18.1-1ubuntu1~20.04.3
  • golang-1.18 Ubuntu 22.04 LTS 1.18.1-1ubuntu1.2
  • golang-1.21 Ubuntu 20.04 LTS 1.21.1-1~ubuntu20.04.3
  • golang-1.21 Ubuntu 22.04 LTS 1.21.1-1~ubuntu22.04.3
  • golang-1.21 Ubuntu 24.04 LTS 1.21.9-1ubuntu0.1
  • golang-1.22 Ubuntu 20.04 LTS 1.22.2-2~20.04.1
  • golang-1.22 Ubuntu 22.04 LTS 1.22.2-2~22.04.1
  • golang-1.22 Ubuntu 24.04 LTS 1.22.2-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2024-24790

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • helm ocp tools 4.17 3.15.4-60.el9
  • helm-redistributable ocp tools 4.17 3.15.4-60.el9
  • git-lfs RHEL 9 3.6.1-1.el9
  • ceph ceph storage 7.1 2:18.2.1-329.el8cp
  • ceph ceph storage 7.1 2:18.2.1-329.el9cp
  • cephadm ceph storage 7.1 2:18.2.1-329.el9cp
  • liboath ceph storage 7.1 2.6.12-1.el8cp
  • liboath ceph storage 7.1 2.6.12-1.el9cp

red hat advisories RHEA-2025:0507RHSA-2025:7256RHSA-2025:4664RHSA-2024:9115RHSA-2024:8876RHSA-2024:8418

  • google-osconfig-agent SLE Module for Public Cloud 12 20250115.01-1.32.1
  • google-osconfig-agent SLE Module for Public Cloud 15 SP6, SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 +3 more 20250115.01-150000.1.41.1
  • go1.22-openssl SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 1.22.7.1-150600.13.3.1
  • go1.22-openssl SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 1.22.7.1-150000.1.3.1
  • go1.21-openssl SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 1.21.13.1-150600.16.3.1
  • container-suseconnect SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +10 more 2.5.0-150000.4.55.1
  • go1.21-openssl SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Development Tools 15 SP5 +3 more 1.21.13.1-150000.1.11.1
  • go1.22 SLE Module for Development Tools 15 SP6, SLE Module for Development Tools 15 SP5, openSUSE Leap 15.6 +1 more 1.22.4-150000.1.18.1

suse advisories SUSE-SU-2025:0377-1SUSE-SU-2025:0302-1SUSE-SU-2024:3938-1SUSE-SU-2024:3772-1SUSE-SU-2024:3755-1SUSE-SU-2024:3360-1

  • google-osconfig-agent openSUSE Tumbleweed 20250115.01-1.1
  • oras openSUSE Tumbleweed 1.2.1-1.1
  • kubelogin openSUSE Tumbleweed 0.1.4-1.1
  • helmfile openSUSE Tumbleweed 0.166.0-1.1
  • go1.22 openSUSE Tumbleweed 1.22.4-1.1
  • go1.21 openSUSE Tumbleweed 1.21.11-1.1

opensuse advisories openSUSE-SU-2025:14723-1openSUSE-SU-2024:14554-1openSUSE-SU-2024:14185-1openSUSE-SU-2024:14077-1openSUSE-SU-2024:14020-1openSUSE-SU-2024:14023-1

  • git-lfs AlmaLinux 9 3.6.1-1.el9
  • grafana AlmaLinux 9 10.2.6-4.el9
  • grafana-selinux AlmaLinux 9 10.2.6-4.el9
  • grafana AlmaLinux 8 9.2.10-17.el8_10
  • grafana-selinux AlmaLinux 8 9.2.10-17.el8_10
  • golang AlmaLinux 9 1.21.11-1.el9_4
  • go-toolset AlmaLinux 9 1.21.11-1.el9_4
  • golang-bin AlmaLinux 9 1.21.11-1.el9_4

almalinux advisories ALSA-2025:7256ALSA-2024:9115ALSA-2024:5291ALSA-2024:4212ALSA-2024:4237

  • git-lfs Rocky Linux 9 3.6.1-1.el9
  • go-toolset Rocky Linux 8 1.21.11-1.module+el8.10.0+1831+fc70fba6
  • delve Rocky Linux 8 1.21.2-3.module+el8.10.0+1814+f68f8a63
  • golang Rocky Linux 8 1.21.11-1.module+el8.10.0+1831+fc70fba6
  • grafana Rocky Linux 8 9.2.10-17.el8_10
  • delve Rocky Linux 8 1.22.1-1.module+el8.10.0+1879+0cb86608
  • golang Rocky Linux 8 1.22.7-1.module+el8.10.0+1879+0cb86608
  • go-toolset Rocky Linux 8 1.22.7-1.module+el8.10.0+1879+0cb86608

rocky linux advisories RLSA-2025:7256RLSA-2024:4237RLSA-2024:5291RLSA-2024:8876RLSA-2024:4212

  • go Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 1.22.4-r0

alpine advisories ALPINE-CVE-2024-24790

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • msft-golang CBL-Mariner 2.0 1.21.6-1
  • golang CBL-Mariner 2.0 1.22.3-1
  • golang CBL-Mariner 2.0 1.21.11-1
  • golang CBL-Mariner 2.0 1.18.8-4

azure linux advisories AZL-42386AZL-42395AZL-42403AZL-42409

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-24790 updated cvss 6.7

golang: net/netip: Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses

  • Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-waiters-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Cryostat 2 cryostat-tech-preview/cryostat-rhel8-operator
    affected: workaround, no fix available
  • Red Hat Fence Agents Remediation Operator workload-availability/fence-agents-remediation-rhel8-operator
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Machine Deletion Remediation Operator workload-availability/machine-deletion-remediation-rhel8-operator
    affected: workaround, no fix available
  • Red Hat Migration Toolkit for Applications 6 mta/mta-hub-rhel8 Red Hat Migration Toolkit for Applications 7 mta/mta-cli-rhel9 Red Hat NBDE Tang Server tang-operator-container Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator Red Hat Node Maintenance Operator workload-availability/node-maintenance-rhel8-operator Red Hat OpenShift Developer Tools and Services ocp-tools-4/jenkins-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat OpenShift Serverless openshift-serverless-clients Red Hat OpenShift Source-to-Image (S2I) source-to-image-container Red Hat Power monitoring for Red Hat OpenShift kepler-container
    affected: workaround, no fix available
  • Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-rhel7-operator Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8
    affected: workaround, no fix planned “Out of support scope”
show 13 more
  • Red Hat Ceph Storage 8 snmp-notifier
    affected: workaround, no fix available
  • Red Hat Certification for Red Hat Enterprise Linux 8 redhat-certification-preflight Red Hat Certification Program for Red Hat Enterprise Linux 9 redhat-certification-preflight
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Connectivity Link 1 rhcl-1/dns-operator-container
    affected: workaround, no fix available
  • Red Hat Enterprise Linux 8 golang, git-lfs, go-toolset, golang-bin, golang-src, golang-misc, +7 more Red Hat Enterprise Linux 9 butane, ignition, yggdrasil, weldr-client, ignition-edge, ignition-grub, +5 more Red Hat Enterprise Linux 10 delve, butane, golang, git-lfs, grafana, ignition, +3 more
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform Assisted Installer 1 rhai-tech-preview/assisted-installer-rhel8 Red Hat OpenShift Data Science (RHODS) rhods/odh-rhel8-operator
    affected: workaround, no fix available
  • Red Hat OpenShift Dev Spaces devspaces/udi-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift distributed tracing 2 rhosdt/tempo-rhel8 Red Hat OpenShift distributed tracing 3 rhosdt/tempo-rhel8
    affected: workaround, no fix available
  • Red Hat OpenShift GitOps openshift-gitops-1/gitops-rhel8 Red Hat OpenShift on AWS rosa
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Openshift Sandboxed Containers openshift-sandboxed-containers/osc-rhel8-operator Red Hat OpenShift Virtualization 4 kubevirt, openshift-golang-builder-container
    affected: workaround, no fix available
  • Red Hat OpenStack Platform 16.2 etcd, qpid-proton-c, python3-qpid-proton, rhosp-rhel8/osp-director-agent, golang-github-infrawatch-apputils Red Hat OpenStack Platform 17.1 etcd, qpid-proton-c, golang-qpid-apache, python3-qpid-proton, golang-github-infrawatch-apputils
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat OpenStack Platform 18.0 etcd Red Hat Service Interconnect 1 qpid-proton, skupper-cli skupper-cli, openshift4/egress-router-cni-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Storage 3 golang, heketi, golang-bin, golang-src, golang-misc, golang-tests, +2 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Web Terminal web-terminal-exec-container Red Hat Self Node Remediation Operator workload-availability/self-node-remediation-rhel8-operator
    affected: workaround, no fix planned “Will not fix”

2 more affected, 35 more fixed, 28 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
2 y ago

Exploit prediction

1.95% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami golang
<1.21.11
>=1.22.0-0, <1.22.4
1.21.11
1.22.4
go stdlib
<1.21.11
>=1.22.0-0, <1.22.4
1.21.11
1.22.4

Affected products

  • Go standard library net/netip
  • golang go

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.