Project

General

Profile

Actions

Bug #3840

closed
PA PA

Integer overflow in DetectContentPropagateLimits leading to unintended signature behavior

Bug #3840: Integer overflow in DetectContentPropagateLimits leading to unintended signature behavior

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

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport, Needs backport to 4.1, Needs backport to 5.0

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 2 (0 open2 closed)

Copied to Suricata - Bug #3936: Integer overflow in DetectContentPropagateLimits leading to unintended signature behaviorClosedShivani BhardwajActions
Copied to Suricata - Bug #3937: Integer overflow in DetectContentPropagateLimits leading to unintended signature behaviorClosedJeff LucovskyActions

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

  • Status changed from New to In Review
  • Assignee set to Philippe Antoine

Gitlab PR

VJ Updated by Victor Julien over 5 years ago Actions #2

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

PA Updated by Philippe Antoine over 5 years ago Actions #3

  • Status changed from Closed to In Review

JL Updated by Jeff Lucovsky over 5 years ago Actions #5

  • Copied to Bug #3936: Integer overflow in DetectContentPropagateLimits leading to unintended signature behavior added

JL Updated by Jeff Lucovsky over 5 years ago Actions #6

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

Also available in: PDF Atom