{"id":"CVE-2024-6284","aliases":["CVE-2024-6284","GHSA-qjvf-8748-9w7h","GO-2024-2977"],"related":[],"kind":"vulnerability","state":"published","title":"Improper IPv4 and IPv6 byte order storage in github.com/google/nftables","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"go"},{"lang":"es","text":"En https://github.com/google/nftables, las direcciones IP se codificaron en el orden de bytes incorrecto, lo que resultó en una configuración de nftables que no funciona según lo previsto (podría bloquear o no las direcciones deseadas). Este problema afecta a: https://pkg.go.dev/github.com/google/nftables@v0.1.0 El error se solucionó en la siguiente versión lanzada: https://pkg.go.dev/github.com/google /nftables@v0.2.0","source":"nvd"}],"published":"2024-07-03T22:58:17.340Z","modified":"2026-06-17T08:17:42.320Z","severity":{"scorer":"Google","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"Google","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"}],"cwes":["CWE-20","CWE-1286","CWE-1389"],"affected":[{"ranges":[{"version":"0.1.0","status":"affected"},{"version":"0.2.0","status":"unaffected"}],"vendor":"Google","product":"https://github.com/google/nftables","repo":"https://github.com/google/nftables","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0.1.0","fixed":"0.2.0","status":"affected"}],"vendor":"netfilter","product":"nftables","cpe":"cpe:2.3:a:netfilter:nftables:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"0.2.0"}],"ecosystem":"Go","package":"github.com/google/nftables","purl":"pkg:golang/github.com/google/nftables","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"0.2.0"}],"ecosystem":"Go","package":"github.com/google/nftables","purl":"pkg:golang/github.com/google/nftables","source":"go"},{"ranges":[{"status":"affected","version":"0.1.0"}],"vendor":"google","product":"nftables","cpe":"cpe:2.3:a:google:nftables:0.1.0:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/google/nftables/issues/225","tags":["exploit","issue-tracking","report","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/crowdsecurity/cs-firewall-bouncer/issues/368","tags":["exploit","issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/crowdsec-firewall-bouncer/+bug/2069596","tags":["issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6284","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/google/nftables/commit/b1f901b05510bed05c232c5049f68d1511b56a19","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/google/nftables","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qjvf-8748-9w7h","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-08-19T14:56:05.757Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6284","url":"https://www.cve.org/CVERecord?id=CVE-2024-6284","licence":"CVE Terms of Use","modified":"2025-09-08T09:36:50.396Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qjvf-8748-9w7h","url":"https://github.com/advisories/GHSA-qjvf-8748-9w7h","licence":"CC-BY-4.0","modified":"2025-09-10T20:52:22.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2977","url":"https://pkg.go.dev/vuln/GO-2024-2977","licence":"CC-BY-4.0","modified":"2024-07-09T17:29:54.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6284","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6284","licence":"Public domain","modified":"2026-06-17T08:17:42.320Z"}],"updatedAt":"2026-11-25T22:58:42.500Z","epss":{"score":0.00287,"percentile":0.22785,"date":"2026-12-01T12:00:22.000Z"}}