Skip to content

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

Moderate severity GitHub Reviewed Published Jul 4, 2024 to the GitHub Advisory Database • Updated Aug 8, 2024

Package

gomod github.com/google/nftables (Go)

Affected versions

>= 0.1.0, < 0.2.0

Patched versions

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/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

Published by the National Vulnerability Database Jul 3, 2024
Published to the GitHub Advisory Database Jul 4, 2024
Reviewed Jul 5, 2024
Last updated Aug 8, 2024

Severity

Moderate

Weaknesses

CVE ID

CVE-2024-6284

GHSA ID

GHSA-qjvf-8748-9w7h

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.