Project

General

Profile

Actions

Bug #5271

closed

app-layer: timeout when removing many transactions from the beginning

Added by Philippe Antoine over 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Found by oss-fuzz
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44307

Attached pcap from fuzzing input + a bit of crafting gets 36k transactions and spends 36 seconds removing them, especially moving memory around the rust vector.


Files

dns.pcap (660 KB) dns.pcap Philippe Antoine, 04/16/2022 07:44 AM

Subtasks 7 (0 open7 closed)

Bug #5277: dns: More efficient transaction handlingClosedJason IshActions
Bug #5294: mqtt: convert to vecdequeClosedJason IshActions
Bug #5295: rdp: convert transaction list to vecdequeClosedJason IshActions
Bug #5296: http2: convert transaction list to vecdequeClosedJason IshActions
Bug #5297: pgsql: convert transaction list to vecdequeClosedJason IshActions
Bug #5298: template (rust): convert transaction list to vecdequeClosedJason IshActions
Bug #5321: dcerpc: More efficient transaction handlingClosedJason IshActions

Related issues 3 (0 open3 closed)

Related to Suricata - Bug #5278: app-layer: Allow for non slice based transaction containers in generate get iterator (rust)ClosedJason IshActions
Related to Suricata - Bug #5314: ftp: quadratic complexity for tx iterator with linked listClosedPhilippe AntoineActions
Related to Suricata - Bug #5637: quic: convert to vecdequeClosedPhilippe AntoineActions
Actions

Also available in: Atom PDF