GitHub Advisoryadvisory · Go

GHSA-qjvf-8748-9w7h github.com/google/nftable IP addresses were encoded in the wrong byte order

MEDIUM Published 2024-07-04 Modified 2025-09-10 Official page ↗
Aliases
CVE-2024-6284
Ecosystem
Go
Packages
github.com/google/nftables
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-1286, CWE-20
Reviewed
2024-07-05

Affected packages

• Go github.com/google/nftables: >= 0.1.0, < 0.2.0 → fixed in 0.2.0

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/[email protected] The bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/[email protected]

Related

Alias · CVE (1)

  • CVE-2024-6284 In https://github.com/google/nftables IP addresses were encoded in the wrong byte order, resulting in an nftables configuration which does… vulnerability

Weakness · CWE (2)

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

References