Description
Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. From 8.0.0 until 8.0.6, AppLayerParserSetTransactionInspectId() in src/app-layer-parser.c uses an inverted guard and marks only already-inspected transactions as inspected. On flows passed by a pass rule or pass-the-flow exception policy, detection is skipped, so completed transactions remain unmarked, are never freed, and are repeatedly rescanned. The per-flow list can grow without bound with quadratic cleanup cost, causing CPU and memory exhaustion. This issue is fixed in version 8.0.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OISF | suricata | >= 8.0.0, < 8.0.6 | — |
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-gjwr-75gq-877m
- https://github.com/OISF/suricata/pull/15726
- https://github.com/OISF/suricata/commit/006e21c1ccc38c1c815e7945d54b4638cc5f0de8
- https://github.com/OISF/suricata/commit/60a83c62a1dfdfb589b2bad27fb7fc339fc964b7
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6
- https://redmine.openinfosecfoundation.org/issues/8628