CVE-2024-6284

Improper IPv4 and IPv6 byte order storage in github.com/google/nftables

Published Jul 3, 2024 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2405 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
Github GHSA Github GHSA GHSA-qjvf-8748-9w7h github.com/google/nftable IP addresses were encoded in the wrong byte order
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
First Time appeared Netfilter
Netfilter nftables
CPEs cpe:2.3:a:netfilter:nftables:*:*:*:*:*:*:*:*
Vendors & Products Netfilter
Netfilter nftables
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-1286
CWE-1389
Type Values Removed Values Added
First Time appeared Google
Google nftables
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:google:nftables:0.1.0:*:*:*:*:go:*:*
Vendors & Products Google
Google nftables
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Sep 8, 2025, 9:36 AM
Reserved
Jun 24, 2024, 1:16 PM
Status
Analyzed
Published
Jul 3, 2024, 11:15 PM
Modified
Jun 17, 2026, 8:17 AM