Project

General

Profile

Actions

Bug #3779

closed
PA PA

Exit on signature with invalid transform pcrexform

Bug #3779: Exit on signature with invalid transform pcrexform

Added by Philippe Antoine almost 6 years ago. Updated almost 6 years ago.

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

Description

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

Sample reproducer is
alert tcp any any <> any 1 pcrexform:"[";

PA Updated by Philippe Antoine almost 6 years ago Actions #1

  • Status changed from Assigned to In Review

PR in gitlab

JL Updated by Jeff Lucovsky almost 6 years ago Actions #2

  • Label Needs backport to 4.1, Needs backport to 5.0 added

The issue also applies to 4.x.y

PA Updated by Philippe Antoine almost 6 years ago Actions #3

I do not think this needs backporting as pcrexform is new

JL Updated by Jeff Lucovsky almost 6 years ago Actions #4

The underlying issue --

FatalError
-- is in the codebase and has been for ~4 years. A malformed PCRE from a rule could trigger the issue.

PA Updated by Philippe Antoine almost 6 years ago Actions #5

A malformed PCRE from a rule could trigger the issue.

I think not since
DetectPcreSetup does not call DetectSetupParseRegexes

Could you show me an example where it fails ?

The use of FatalError seems to me to have been on purpose, for better debugging during development as the pcres used up until pcrexform are hardcoded

PA Updated by Philippe Antoine almost 6 years ago Actions #6

  • Label deleted (Needs backport to 4.1, Needs backport to 5.0)

PA Updated by Philippe Antoine almost 6 years ago Actions #7

  • Affected Versions 6.0.0beta1 added
  • Affected Versions deleted (5.0.3)

VJ Updated by Victor Julien almost 6 years ago Actions #8

  • Target version set to 6.0.0beta1

VJ Updated by Victor Julien almost 6 years ago Actions #9

  • Status changed from In Review to Closed
  • Private changed from Yes to No
Actions

Also available in: PDF Atom