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/nftables@v0.1.0
The bug was fixed in the next released version: https://pkg.go.dev/github.com/google/nftables@v0.2.0
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| https://github.com/google/nftables | 0.1.0 | 0.2.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-google-nftables | 0.1.0-4 | — |
| Debian 13 | golang-github-google-nftables | 0.1.0-4 | — |
| Debian 12 | golang-github-google-nftables | 0.1.0-4~deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | golang-github-google-nftables | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/google/nftables | >= 0.1.0, < 0.2.0 | 0.2.0 | GHSA-qjvf-8748-9w7h |