Bug 1749201 (CVE-2019-10056) - CVE-2019-10056 suricata: denial of service in function DecodeEthernet in decode-ethernet.c
Summary: CVE-2019-10056 suricata: denial of service in function DecodeEthernet in dec...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2019-10056
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-05 06:52 UTC by Dhananjay Arunesh
Modified: 2019-10-25 02:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-25 02:36:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-09-05 06:52:45 UTC
An issue was discovered in Suricata 4.1.3. The code mishandles the case of sending a network packet with the right type, such that the function DecodeEthernet in decode-ethernet.c is executed a second time. At this point, the algorithm cuts the first part of the packet and doesn't determine the current length. Specifically, if the packet is exactly 28 long, in the first iteration it subtracts 14 bytes. Then, it is working with a packet length of 14. At this point, the case distinction says it is a valid packet. After that it casts the packet, but this packet has no type, and the program crashes at the type case distinction.

Reference:
https://redmine.openinfosecfoundation.org/issues/2946
https://suricata-ids.org/2019/04/30/suricata-4-1-4-released/


Note You need to log in before you can comment on or make changes to this bug.