CVE-2019-10056 Memory corruption in n/a
A remote attacker can cause a denial of service in Suricata by sending a specially crafted network packet that triggers a crash due to improper length handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-10056?
CVE-2019-10056 is a high-severity memory corruption vulnerability in n/a, published on 28 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-787
Which versions are affected by CVE-2019-10056?
It affects 1 product.
Products include Suricata-Ids Suricata.
How do I fix CVE-2019-10056?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-10056 being exploited?
There is no known exploitation of CVE-2019-10056 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2019-10056, GHSA-fh58-6cxc-xhx5, UBUNTU-CVE-2019-10056.