Project

General

Profile

Actions

Security #5945

closed

byte_math: Division by zero possible.

Added by Jeff Lucovsky about 1 year ago. Updated 10 months 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 about 1 year ago

  • Subtask #5947 added
Actions #2

Updated by OISF Ticketbot about 1 year ago

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

Updated by Jeff Lucovsky about 1 year ago

  • Status changed from Assigned to In Review
Actions #4

Updated by Victor Julien about 1 year ago

  • Status changed from In Review to Closed
Actions #5

Updated by Victor Julien 10 months ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF