Description
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.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_misc
https://lists.openinfosecfoundation.org/pipermail/oisf-announce/
Patch, Vendor Advisory x_refsource_misc
https://suricata-ids.org/2019/04/30/suricata-4-1-4-released/
Scores
CVSS v3
7.5
EPSS
0.0054
EPSS Percentile
67.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (1)
oisf/suricata
4.0.0 - 4.1.4
Published
May 13, 2019
Tracked Since
Feb 18, 2026