Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-6284 — nftables

🟠 CVSS 7.3 — High ✅ No Known Exploit CWE-1286 NVD
7.3
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

github.com/google/nftable IP addresses were encoded in the wrong byte order

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/[email protected]

The bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/[email protected]

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability low.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: Low — limited, and the attacker does not choose what is affected.

Weakness class

CVE-2024-6284 is classified as CWE-1286: Improper Validation of Syntactic Correctness of Input. The product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax.

Affected software

CVE-2024-6284 is recorded against 2 packages.

  • github.com/google/nftables
  • nftables

Timeline and source

Published on 9 July 2024 and last revised on 10 September 2025. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Advisory)
github.com (Fix)
github.com (Report)
bugs.launchpad.net (Web)
github.com (Web)

Same weakness in other software

These advisories are the same class of weakness (CWE-1286: Improper Validation of Syntactic Correctness of Input) in other software:

CVE-2024-6284 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity High
CVSS Score 7.3
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE CWE-1286
Public Exploit ✅ No
Source NVD
Published 2024-07-09
Updated 2026-08-20
Modified 2025-09-10

Affected Packages

Software From version Fixed in
github.com/google/nftables — —
nftables — —

Site Security Check

Is nftables part of your stack?

CVE-2024-6284 is rated CVSS 7.3 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓