Advisory

GHSA-qjvf-8748-9w7h

Also known as: CVE-2024-6284, GO-2024-2977

Summary

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

Details

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]

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-07-04 00:37 UTC
Modified
2025-09-10 20:52 UTC

Affected packages and fixes

github.com/google/nftables

Go · All systems

Affected

  • introduced 0.1.0, fixed 0.2.0 (semver)

Fixed versions

0.2.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences