CVE-2024-6284 MEDIUM

CVE-2024-6284: Improper IPv4 and IPv6 byte order storage in github.com/google/nftables

Vendor Google
Product https://github.com/google/nftables
Weakness CWE-1286
Published July 3, 2024
Last update September 8, 2025

CVSS base score

6.3/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L

What the vulnerability does

01Description

In https://github.com/google/nftables  IP addresses were encoded in the wrong byte order, resulting in an nftables configuration which does not work as intended (might block or not block the desired addresses). This issue affects:  https://pkg.go.dev/github.com/google/nftables@v0.1.0 The bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/nftables@v0.2.0

Key dates

02Disclosure timeline

July 3, 2024 CVE published
September 8, 2025 Record updated