Bug 1760430 (CVE-2018-14882) - CVE-2018-14882 tcpdump: Buffer over-read in function rpl_dio_printopt in print-icmp6.c
Summary: CVE-2018-14882 tcpdump: Buffer over-read in function rpl_dio_printopt in prin...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-14882
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: 1760431 1791697 1791698
Blocks: 1760628
TreeView+ depends on / blocked
 
Reported: 2019-10-10 14:16 UTC by Pedro Sampaio
Modified: 2020-11-04 03:40 UTC (History)
6 users (show)

Fixed In Version: tcpdump 4.9.3
Clone Of:
Environment:
Last Closed: 2020-11-04 02:21:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4760 0 None None None 2020-11-04 03:40:20 UTC

Description Pedro Sampaio 2019-10-10 14:16:50 UTC
The ICMPv6 parser in tcpdump before 4.9.3 has a buffer over-read in print-icmp6.c.

Upstream patch:

https://github.com/the-tcpdump-group/tcpdump/commit/d7505276842e85bfd067fa21cdb32b8a2dc3c5e4

References:

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

Comment 1 Pedro Sampaio 2019-10-10 14:17:11 UTC
Created tcpdump tracking bugs for this issue:

Affects: fedora-all [bug 1760431]

Comment 2 Riccardo Schirone 2020-01-15 13:50:09 UTC
Function rpl_dio_printopt() in print-icmp6.c may read outside the intended buffer while iterating over the options of a ICMP6 packet. If there are not enough bytes in the captured buffer to fill out the entire `rpl_dio_genoption` structure, the function may read beyond the limits of the captured buffer and it could potentially print to output wrong information. However, `opt` is never used to write anything, so this issue could result in junk memory being displayed on the terminal of the victim user or, at most, in the tcpdump program crashing while accessing invalid memory.

Comment 5 Product Security DevOps Team 2020-11-04 02:21:47 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-14882

Comment 6 errata-xmlrpc 2020-11-04 03:40:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4760 https://access.redhat.com/errata/RHSA-2020:4760


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