An issue was discovered in Suricata before 3.1.2. If an ICMPv4 error packet is received as the first packet on a flow in the to_client direction, it confuses the rule grouping lookup logic. The toclient inspection will then continue with the wrong rule group. This can lead to missed detection.
https://suricata-ids.org/2016/09/07/suricata-3-1-2-released/
https://redmine.openinfosecfoundation.org/issues/1880
https://lists.debian.org/debian-lts-announce/2018/09/msg00019.html