Skip to content
OpenAdvisories
Medium · 6.3 CVE-2024-6284 EUVD-2024-2405GHSA-qjvf-8748-9w7hGO-2024-2977

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

Published Jul 3, 2024 · Updated Sep 8, 2025 · Assigned by Google

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

Affected products

VendorProductAffectedFixed
Google https://github.com/google/nftables 0.1.0 0.2.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-google-nftables 0.1.0-4 —
Debian 13 golang-github-google-nftables 0.1.0-4 —
Debian 12 golang-github-google-nftables 0.1.0-4~deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS golang-github-google-nftables No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/google/nftables >= 0.1.0, < 0.2.0 0.2.0 GHSA-qjvf-8748-9w7h

References