Skip to content
OpenAdvisories
Unscored CVE-2019-10056 EUVD-2019-2119GHSA-fh58-6cxc-xhx5

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 func…

Published Aug 28, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 suricata 1:4.1.4-1 —
Debian 13 suricata 1:4.1.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS suricata No fix yet —
Ubuntu 16.04 LTS suricata No fix yet —

References