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 July 5, 2024)

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/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, version 0.1.0

Fixed versions

  • 0.2.0

Solution

Upgrade to version 0.2.0 or above.

Weakness

  • 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 Wed, 14 May 2025 12:16:09 +0000.