Project

General

Profile

Actions

Bug #3936

closed

Integer overflow in DetectContentPropagateLimits leading to unintended signature behavior

Added by Jeff Lucovsky over 4 years ago. Updated about 4 years ago.

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

Description

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

Reproducer is
alert tcp any any -> any any (msg:"JllWorkAndNoPlay"; content:"threshoBoy"; content:"æ†≤<MrkBoyy"; distance:2147483647“id:0;)

distance:2147483647 is 0x7FFFFFFF aka INT32_MAX

This distance is used to compute a new offset but offset is uint16_t


Related issues 1 (0 open1 closed)

Copied from Suricata - Bug #3840: Integer overflow in DetectContentPropagateLimits leading to unintended signature behaviorClosedPhilippe AntoineActions
Actions #1

Updated by Jeff Lucovsky over 4 years ago

  • Copied from Bug #3840: Integer overflow in DetectContentPropagateLimits leading to unintended signature behavior added
Actions #2

Updated by Shivani Bhardwaj about 4 years ago

  • Status changed from Assigned to In Review
Actions #3

Updated by Victor Julien about 4 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF