A buffer over-read issue was discovered in Suricata 4.1.x before 4.1.4. If the input of the decode-mpls.c function DecodeMPLS is composed only of a packet of source address and destination address plus the correct type field and the right number for shim, an attacker can manipulate the control flow, such that the condition to leave the loop is true. After leaving the loop, the network packet has a length of 2 bytes. There is no validation of this length. Later on, the code tries to read at an empty position, leading to a crash.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2019-05-13T16:18:52

Updated: 2024-08-04T22:10:09.210Z

Reserved: 2019-03-25T00:00:00

Link: CVE-2019-10050

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2019-05-13T17:29:02.097

Modified: 2019-10-24T16:19:30.683

Link: CVE-2019-10050

cve-icon Redhat

No data.