Bug 1760447 (CVE-2018-14469) - CVE-2018-14469 tcpdump: Buffer over-read in ikev1_n_print() function in print-isakmp.c
Summary: CVE-2018-14469 tcpdump: Buffer over-read in ikev1_n_print() function in print...
Keywords:
Status: NEW
Alias: CVE-2018-14469
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1791702 1760626 1791701
Blocks: 1760628
TreeView+ depends on / blocked
 
Reported: 2019-10-10 14:54 UTC by Pedro Sampaio
Modified: 2020-02-12 09:31 UTC (History)
6 users (show)

Fixed In Version: tcpdump 4.9.3
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read vulnerability was discovered in tcpdump while printing ISAKMP packets captured in a pcap file or coming from the network. A remote attacker may abuse this flaw by sending specially crafted packets that, when printed, would trigger the flaw and crash the application.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Pedro Sampaio 2019-10-10 14:54:16 UTC
The IKEv1 parser in tcpdump before 4.9.3 has a buffer over-read in print-isakmp.c:ikev1_n_print().

Upstream patch:

https://github.com/the-tcpdump-group/tcpdump/commit/396e94ff55a80d554b1fe46bf107db1e91008d6c

References:

https://github.com/the-tcpdump-group/tcpdump/blob/tcpdump-4.9/CHANGES

Comment 1 Pedro Sampaio 2019-10-11 00:03:15 UTC
Created tcpdump tracking bugs for this issue:

Affects: fedora-all [bug 1760626]

Comment 2 Riccardo Schirone 2020-01-15 14:19:21 UTC
While printing a REPLAY-STATUS notify message used in IKEv1, function ikev1_n_print() in print-isakmp.c can read beyond the limits of the captured buffer, if there are not enough bytes in the buffer to read the 32bits value that indicates whether the replay detection is enabled or not. This may print memory data on the victim's screen or crash the tcpdump application.


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