Project

General

Profile

Actions

Bug #3568

closed

rules: bad rule leads to memory exhaustion

Added by Victor Julien almost 5 years ago. Updated almost 4 years ago.

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

Description

./src/fuzz_siginit ~/Downloads/clusterfuzz-testcase-minimized-fuzz_siginit-5659361696546816

Looks like it is related to

  11,67%  fuzz_siginit                     [.] IPOnlyCIDRItemNew
   4,23%  fuzz_siginit                     [.] IPOnlyCIDRItemParseSingle

Which suggests some kind of endless loop in the cidr parsing code.

Probably needs backporting too.


Files


Related issues 1 (0 open1 closed)

Has duplicate Suricata - Bug #3662: Signature with an IP range creates one IPOnlyCIDRItem by IP addressClosedPhilippe AntoineActions
Actions #2

Updated by Jeff Lucovsky over 4 years ago

  • Status changed from Assigned to In Review
Actions #3

Updated by Victor Julien over 4 years ago

Attaching another case that my local instance said caused an OOM condition (the limit is set to ~2.5G)

Actions #4

Updated by Philippe Antoine over 4 years ago

  • Has duplicate Bug #3662: Signature with an IP range creates one IPOnlyCIDRItem by IP address added
Actions #5

Updated by Victor Julien over 4 years ago

  • Status changed from In Review to Closed
  • Priority changed from High to Normal

Fixed through #3662

Actions #6

Updated by Jeff Lucovsky almost 4 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF