Buffer overflow in Suricata-Ids Suricata
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.014, 72.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Suricata-Ids Suricata — versions 4.1.3, 4.1.4
Weakness classification (CWE)
References
- suricata-ids.org/2019/04/30/suricata-4-1-4-released/ (Release Notes, Not Applicable, Vendor Advisory)
- redmine.openinfosecfoundation.org/issues/2946 (Exploit, Third Party Advisory, Issue Tracking)