Bug 1774148 (CVE-2019-16411) - CVE-2019-16411 suricata: out-of-bounds access in IPV4OptValidateTimestamp in decode-ipv4.c
Summary: CVE-2019-16411 suricata: out-of-bounds access in IPV4OptValidateTimestamp in ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2019-16411
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-19 17:19 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-05-06 13:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-21 19:39:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-11-19 17:19:01 UTC
An issue was discovered in Suricata 4.1.4. By sending multiple IPv4 packets that have invalid IPv4Options, the function IPV4OptValidateTimestamp in decode-ipv4.c tries to access a memory region that is not allocated. There is a check for o->len < 5 (corresponding to 2 bytes of header and 3 bytes of data). Then, "flag = *(o->data + 3)" places one beyond the 3 bytes, because the code should have been "flag = *(o->data + 1)" instead.

Reference:
https://suricata-ids.org/2019/09/24/suricata-4-1-5-released/


Note You need to log in before you can comment on or make changes to this bug.