Description
Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.17 and 8.0.6, src/flow-hash.c can treat an IPv4 and IPv6 flow as equal without comparing the IP family when their raw address words, ports, protocol, VLAN, recursion level, live device, and hash bucket align. An IPv6 packet can therefore reuse IPv4 flow state or the reverse, causing incorrect flowbit state, detection bypass, or IP-only bypass. This issue is fixed in versions 8.0.6 and 7.0.17.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OISF | suricata | >= 8.0.0, < 8.0.6, < 7.0.17 | — |
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 | suricata | 1:8.0.6-1 | — |
| Debian 13 | suricata | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | suricata | No fix yet | — |
| Ubuntu 24.04 LTS | suricata | No fix yet | — |
| Ubuntu 22.04 LTS | suricata | No fix yet | — |
| Ubuntu 18.04 LTS | suricata | No fix yet | — |
| Ubuntu 16.04 LTS | suricata | No fix yet | — |
References
- https://github.com/OISF/suricata/security/advisories/GHSA-fvwh-wjcq-2586
- https://github.com/OISF/suricata/commit/181b3b2fdd1fe87e4534de4fc79e29a083ef125f
- https://github.com/OISF/suricata/commit/4e2f23d031fbcfd72883bacd3d723c9874f23701
- https://github.com/OISF/suricata/commit/bc41dcc854e24487d3786ce578a8a86a8350ab20
- https://github.com/OISF/suricata/releases/tag/suricata-7.0.17
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6
- https://redmine.openinfosecfoundation.org/issues/8558