Firewall policy bypass via reversed IP-address encoding
Published Jul 3, 2024 · Updated Sep 8, 2025
Incorrect byte-order encoding in google/nftables 0.1.0 allows remote attackers to bypass or misdirect IP-based firewall rules. Conn.AddSet marks ordinary set keys as native-endian even when callers supply network-order IPv4 or IPv6 bytes, so nft reverses the address representation. Exploitation requires an application to construct a set from attacker-influenced addresses; affected rules can admit blocked traffic or block legitimate traffic.
Summary
What happened
Incorrect byte-order encoding in google/nftables 0.1.0 allows remote attackers to bypass or misdirect IP-based firewall rules. Conn.AddSet marks ordinary set keys as native-endian even when callers supply network-order IPv4 or IPv6 bytes, so nft reverses the address representation. Exploitation requires an application to construct a set from attacker-influenced addresses; affected rules can admit blocked traffic or block legitimate traffic.
The record
- CVE
- CVE-2024-6284
- Published
- Jul 3, 2024
- Updated
- Sep 8, 2025
- Vendor
- Product
- nftables
- Classifications
- CWE-1389, CWE-1286, T1562.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 3, 2024CVE publishedPublication date reported by the CVE source.
- Sep 8, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- AddSet IPv4 byte-order reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo