{"id":"CVE-2024-6284","aliases":["DEBIAN-CVE-2024-6284","EUVD-2024-2405","GHSA-qjvf-8748-9w7h","GO-2024-2977","UBUNTU-CVE-2024-6284"],"status":"published","title":"Improper IPv4 and IPv6 byte order storage in github.com/google/nftables","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).\n\nThis issue affects:  https://pkg.go.dev/github.com/google/nftables@v0.1.0 \n\nThe bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/nftables@v0.2.0","severity":{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00287,"percentile":0.21363,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1286","CWE-1389","CWE-20"],"published":"2024-07-03T22:58:17Z","modified":"2026-11-02T12:03:13Z","fixes":[{"ecosystem":"Go","package":"github.com/google/nftables","fixed_in":["0.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"golang-github-google-nftables","fixed_in":["0.1.0-4~deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"golang-github-google-nftables","fixed_in":["0.1.0-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"golang-github-google-nftables","fixed_in":["0.1.0-4"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/google/nftables","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"fixed":"0.2.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"golang-github-google-nftables","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.0-4~deb12u1"}]}],"versions":["0.1.0-3"]},{"source":"osv","ecosystem":"Debian:13","package":"golang-github-google-nftables","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.0-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"golang-github-google-nftables","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.0-4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/google/nftables","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.2.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/google/nftables","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.2.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-google-nftables","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.0-3"]}],"products":[{"vendor":"google","product":"https://github.com/google/nftables"},{"vendor":"google","product":"nftables"},{"vendor":"netfilter","product":"nftables"}],"references":[{"url":"https://github.com/google/nftables/issues/225","tags":["x_transferred","Exploit","Issue Tracking","report","web"]},{"url":"https://github.com/crowdsecurity/cs-firewall-bouncer/issues/368","tags":["x_transferred","Exploit","Issue Tracking","report","web"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/crowdsec-firewall-bouncer/+bug/2069596","tags":["x_transferred","Issue Tracking","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6284","tags":["advisory"]},{"url":"https://github.com/google/nftables/commit/b1f901b05510bed05c232c5049f68d1511b56a19","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-qjvf-8748-9w7h","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6284.json","tags":["advisory"]},{"url":"https://github.com/google/nftables","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-6284","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-6284","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-6284","tags":["report"]},{"url":"https://github.com/google/nftables/commit/d746ecb0e494e7200180c3886fde9664d9100729","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-6284","title":"Improper IPv4 and IPv6 byte order storage in github.com/google/nftables","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).\n\nThis issue affects:  https://pkg.go.dev/github.com/google/nftables@v0.1.0 \n\nThe bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/nftables@v0.2.0","status":"published","published":"2024-07-03T22:58:17.34Z","modified":"2025-09-08T09:36:50.396Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"cna"}],"cwes":["CWE-1286","CWE-1389"],"updated_at":"2026-11-02T14:34:10.961618Z"}],"euvd":[{"id":"EUVD-2024-2405","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).\n\nThis issue affects:  https://pkg.go.dev/github.com/google/nftables@v0.1.0 \n\nThe bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/nftables@v0.2.0","status":"published","published":"2024-07-03T22:58:17Z","modified":"2025-09-08T09:36:50Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T20:31:46.507509Z"}],"ghsa":[{"id":"GHSA-qjvf-8748-9w7h","title":"github.com/google/nftable IP addresses were encoded in the wrong byte order","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).\n\nThis issue affects:  https://pkg.go.dev/github.com/google/nftables@v0.1.0 \n\nThe bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/nftables@v0.2.0","status":"published","published":"2024-07-04T00:37:45Z","modified":"2025-09-10T20:52:25Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-20","CWE-1286"],"updated_at":"2026-11-02T14:38:57.074217Z"}],"nvd":[{"id":"CVE-2024-6284","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).\n\nThis issue affects:  https://pkg.go.dev/github.com/google/nftables@v0.1.0 \n\nThe bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/nftables@v0.2.0","status":"published","published":"2024-07-03T23:15:02.333Z","modified":"2026-06-17T08:17:42.32Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"primary"}],"cwes":["CWE-1286","CWE-1389"],"updated_at":"2026-11-02T14:10:10.545705Z"}],"osv":[{"id":"CVE-2024-6284","title":"Improper IPv4 and IPv6 byte order storage in github.com/google/nftables","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).\n\nThis issue affects:  https://pkg.go.dev/github.com/google/nftables@v0.1.0 \n\nThe bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/nftables@v0.2.0","status":"published","published":"2024-07-03T22:58:17.34Z","modified":"2026-10-28T02:30:21.075646758Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"cwes":["CWE-1286","CWE-1389"],"updated_at":"2026-11-02T15:44:45.107804Z"},{"id":"DEBIAN-CVE-2024-6284","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","status":"published","published":"2024-07-03T23:15:02.333Z","modified":"2026-11-02T12:03:13.635452497Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:45:44.747956Z"},{"id":"GHSA-qjvf-8748-9w7h","title":"github.com/google/nftable IP addresses were encoded in the wrong byte order","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).\n\nThis issue affects:  https://pkg.go.dev/github.com/google/nftables@v0.1.0 \n\nThe bug was fixed in the next released version:  https://pkg.go.dev/github.com/google/nftables@v0.2.0","status":"published","published":"2024-07-04T00:37:45Z","modified":"2025-09-10T20:52:22Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"cwes":["CWE-1286","CWE-20"],"updated_at":"2026-11-02T15:46:54.760124Z"},{"id":"UBUNTU-CVE-2024-6284","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","status":"published","published":"2024-07-03T23:15:00Z","modified":"2025-09-08T16:58:55Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T16:55:18.664792Z"},{"id":"GO-2024-2977","title":"IP addresses were encoded in the wrong byte order in github.com/google/nftables","description":"IP addresses were encoded in the wrong byte order, resulting in an nftables configuration which did not work as intended (might block or not block the desired addresses).","status":"published","published":"2024-07-09T16:55:06Z","modified":"2024-07-09T17:29:54.092575Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
