Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/google/nftables
  4. ›
  5. CVE-2024-6284

CVE-2024-6284: github.com/google/nftable IP addresses were encoded in the wrong byte order

July 4, 2024 (updated September 10, 2025)

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

References

  • bugs.launchpad.net/ubuntu/+source/crowdsec-firewall-bouncer/+bug/2069596
  • github.com/advisories/GHSA-qjvf-8748-9w7h
  • github.com/crowdsecurity/cs-firewall-bouncer/issues/368
  • github.com/google/nftables
  • github.com/google/nftables/commit/b1f901b05510bed05c232c5049f68d1511b56a19
  • github.com/google/nftables/issues/225
  • nvd.nist.gov/vuln/detail/CVE-2024-6284

Code Behaviors & Features

Detect and mitigate CVE-2024-6284 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.1.0 before 0.2.0

Fixed versions

  • 0.2.0

Solution

Upgrade to version 0.2.0 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-1286: Improper Validation of Syntactic Correctness of Input
  • CWE-20: Improper Input Validation

Source file

go/github.com/google/nftables/CVE-2024-6284.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 11 Sep 2025 12:19:41 +0000.