CVE-2024-6284 – github.com/google/nftables
Package
Manager: go
Name: github.com/google/nftables
Vulnerable Version: >=0.1.0 <0.2.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0: 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
EPSS: 0.00094 pctl0.27198
Details
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/nftables@v0.1.0 The bug was fixed in the next released version: https://pkg.go.dev/github.com/google/nftables@v0.2.0
Metadata
Created: 2024-07-04T00:37:45Z
Modified: 2025-07-22T21:42:33Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-qjvf-8748-9w7h/GHSA-qjvf-8748-9w7h.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-qjvf-8748-9w7h
Finding: F184
Auto approve: 1