Skip to content
Fencer Vulns
high 7.3

CVE-2024-6284 json

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

published 2024-07-03 2 y ago modified 2026-06-17 4 mo ago also GHSA-qjvf-8748-9w7h , GO-2024-2977 , EUVD-2024-2405

cvss
7.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 21%
public exploits
0
none known

Summary

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

Patch / fix

  • go github.com/google/nftables 0.2.0
  • Google https://github.com/google/nftables 0.2.0
  • netfilter nftables 0.2.0
  • golang-github-google-nftables Debian 12 0.1.0-4~deb12u1
  • golang-github-google-nftables Debian 14, Debian 13 0.1.0-4

debian advisories DEBIAN-CVE-2024-6284

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-6284 updated cvss 5.6

nftables: nftables: incorrect IP address encoded bytes may lead to unwanted behavior

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

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
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

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

Exploits and checks

  • github.com https://github.com/google/nftables/issues/225 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/crowdsecurity/cs-firewall-bouncer/issues/368 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 6.3 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
CNA 4.0 6.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHub 3.1 5.6 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
go github.com/google/nftables
>=0.1.0, <0.2.0
0.2.0

Affected products

  • Google https://github.com/google/nftables
  • netfilter nftables

Classification

Weakness
  • CWE-1286 Improper Validation of Syntactic Correctness of Input
  • CWE-1389 Incorrect Parsing of Numbers with Different Radices
  • CWE-20 Improper Input Validation

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.