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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2019-08-28T20:17:17
Updated: 2024-08-04T22:10:09.252Z
Reserved: 2019-03-25T00:00:00
Link: CVE-2019-10056
Vulnrichment
No data.
NVD
Status : Modified
Published: 2019-08-28T21:15:10.630
Modified: 2024-11-21T04:18:17.930
Link: CVE-2019-10056
Redhat
No data.