Project

General

Custom queries

Profile

Actions

Security #6796

closed

output/filestore: slowdown because of running OutputTxLog on useless packets

Added by Philippe Antoine about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Label:
CVE:
Git IDs:
Severity:
MODERATE
Disclosure Date:
05/21/2024

Description

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

Reproducer is with attached pcap and force-filestore: yes or similar

This pcap can be seen as a simple HTTP request, and then we get from the server many one-byte packets that are not yet acknowledged by the client.
This is a bit similar to #6299 - do not run detection if nothing has been updated, but here it is tx logging and not detection

FLOW_TS_APP_UPDATED gets set with UPDATE_DIR_OPPOSING when the server acknowledges the request
And it does not get reset until PKT_IS_TOSERVER(p)

OutputTxLog. now only checks if flow flags have app update, but not if it is a fresh one


Files

filestore.pcap (5.74 MB) filestore.pcap Philippe Antoine, 02/22/2024 08:38 AM

Subtasks 1 (0 open1 closed)

Security #6798: output/filestore: timeout because of running OutputTxLog on useless packets (7.0.x backport)ClosedPhilippe AntoineActions
#1

Updated by OISF Ticketbot about 1 year ago

  • Subtask #6797 added
#2

Updated by OISF Ticketbot about 1 year ago

  • Label deleted (Needs backport to 6.0)
#3

Updated by OISF Ticketbot about 1 year ago

  • Subtask #6798 added
#4

Updated by OISF Ticketbot about 1 year ago

  • Label deleted (Needs backport to 7.0)
#5

Updated by Philippe Antoine about 1 year ago

  • Status changed from New to In Review
  • Label Needs backport to 6.0, Needs backport to 7.0 added
#6

Updated by Philippe Antoine about 1 year ago

  • Label deleted (Needs backport to 6.0, Needs backport to 7.0)
#10

Updated by Victor Julien about 1 year ago

  • Subject changed from output/filestore: timeout because of running OutputTxLog on useless packets to output/filestore: slowdown because of running OutputTxLog on useless packets
#14

Updated by Philippe Antoine about 1 year ago

  • Status changed from In Review to Resolved
#15

Updated by Philippe Antoine about 1 year ago

  • Status changed from Resolved to Closed
#16

Updated by Victor Julien about 1 year ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF