Project

General

Profile

Actions

Security #5945

closed

byte_math: Division by zero possible.

Added by Jeff Lucovsky over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Label:
CVE:
Git IDs:
Severity:
MODERATE
Disclosure Date:

Description

The byte_math keyword supports basic math and shift-left/right operations for the rvalue (either a scalar or variable).

The division operator should check for a zero-value divisor value.

alert tcp any any -> any any (msg:"Testing bytemath_body"; \
                              content:"|00 04 93 F3|";  \
                              content:"|00 00 00 07|"; distance:4; within:4; \
                              byte_math:bytes 4, offset 0, oper /, rvalue \
                              248, relative,result var; sid:1;)

Subtasks 1 (0 open1 closed)

Security #5947: byte_math: Division by zero possible. (6.0.x backport)ClosedJeff LucovskyActions
Actions #1

Updated by OISF Ticketbot over 1 year ago

  • Subtask #5947 added
Actions #2

Updated by OISF Ticketbot over 1 year ago

  • Label deleted (Needs backport to 6.0)
Actions #3

Updated by Jeff Lucovsky over 1 year ago

  • Status changed from Assigned to In Review
Actions #4

Updated by Victor Julien over 1 year ago

  • Status changed from In Review to Closed
Actions #5

Updated by Victor Julien over 1 year ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF