Project

General

Profile

Actions

Security #7195

closed
PA PA

datasets: rule with unset makes suricata abort

Security #7195: datasets: rule with unset makes suricata abort

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

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Label:
Git IDs:

e47598110a557bb9f87ea498d85ba91a45bb0cb6

Severity:
HIGH
Disclosure Date:

Description

Running SV datasets-03-set test with added rule

diff --git a/tests/datasets-03-set/test.rules b/tests/datasets-03-set/test.rules
index 1d99df9d..327c774a 100644
--- a/tests/datasets-03-set/test.rules
+++ b/tests/datasets-03-set/test.rules
@@ -1 +1,2 @@
 alert dns any any -> any any (dns.query; dataset:set,dns-seen, type string; sid:1;)
+alert dns any any -> any any (dns.query; content: "example"; dataset:unset,dns-seen, type string; sid:2;)

triggers the abort in DetectDatasetBufferMatch because we get DETECT_DATASET_CMD_UNSET


Subtasks 1 (0 open1 closed)

Security #7196: datasets: rule with unset makes suricata abort (7.0.x backport)ClosedPhilippe AntoineActions

Related issues 1 (1 open0 closed)

Related to Suricata - Feature #5576: Dataset is setting data despite the signature being a complete matchIn ReviewPhilippe AntoineActions

PA Updated by Philippe Antoine over 1 year ago Actions #1

  • Related to Feature #5576: Dataset is setting data despite the signature being a complete match added

OT Updated by OISF Ticketbot over 1 year ago Actions #2

  • Subtask #7196 added

OT Updated by OISF Ticketbot over 1 year ago Actions #3

  • Label deleted (Needs backport to 7.0)

PA Updated by Philippe Antoine over 1 year ago Actions #4

  • Status changed from New to In Review

Gitlab MR

PA Updated by Philippe Antoine over 1 year ago Actions #5

unset support in datasets was half-done.

A fix can be implementing the missing support

Another fix can be to reject such rules for now

VJ Updated by Victor Julien over 1 year ago Actions #6

  • Severity changed from MODERATE to HIGH

HIGH as it requires a bad rule, but then it aborts in defined way.

PA Updated by Philippe Antoine over 1 year ago Actions #8

  • Status changed from In Review to Resolved

PA Updated by Philippe Antoine over 1 year ago Actions #9

Still SV test to merge before closing https://github.com/OISF/suricata-verify/pull/2065

PA Updated by Philippe Antoine over 1 year ago Actions #10

  • Git IDs updated (diff)

VJ Updated by Victor Julien over 1 year ago Actions #11

  • Private changed from Yes to No

PA Updated by Philippe Antoine over 1 year ago Actions #12

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom