Skip to main content
← All vulnerabilities
CVE-2024-24790GO-2024-2887BIT-GOLANG-2024-24790

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.21.11, 1.22.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • net/netip

    fixed in 1.21.11; From 1.22.0-0 · fixed in 1.22.4

  • stdlibGo

    fixed in 1.21.11; From 1.22.0-0 · fixed in 1.22.4

References 5

go.dev

groups.google.com

pkg.go.dev

openwall.com