CVE-2019-10056

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.

Published : 2019-08-28 21:15 Updated : 2019-09-05 18:07

5.0
CVSS Score More info
Score 5.0 / 10
5.0
Vendor Product Version URI
Suricata-ids Suricata 4.1.3 cpe:/a:suricata-ids:suricata:4.1.3
Suricata-ids Suricata 4.1.4 cpe:/a:suricata-ids:suricata:4.1.4
  1. Suricata-ids (1) Search CVE
    1. Suricata (2) Search CVE
      1. 4.1.3
      2. 4.1.4

CWE

ID Name Description Links
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. CVE

History of changes

Date Event
2019-09-05 18:07
2019-08-28 21:15

New CVE