Bug 1760514 (CVE-2018-16228) - CVE-2018-16228 tcpdump: Access to uninitialized buffer in print_prefix() function in print-hncp.c
Summary: CVE-2018-16228 tcpdump: Access to uninitialized buffer in print_prefix() func...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-16228
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: 1760626 1791733
Blocks: 1760628
TreeView+ depends on / blocked
 
Reported: 2019-10-10 17:29 UTC by Pedro Sampaio
Modified: 2021-02-16 21:17 UTC (History)
6 users (show)

Fixed In Version: tcpdump 4.9.3
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in tcpdump where an uninitialized buffer is accessed in tcpdump while printing HNCP 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. System availability is the highest threat from this vulnerability.
Clone Of:
Environment:
Last Closed: 2020-11-04 02:22:29 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:41:21 UTC

Description Pedro Sampaio 2019-10-10 17:29:47 UTC
The HNCP parser in tcpdump before 4.9.3 has a buffer over-read in print-hncp.c:print_prefix().

Upstream patch:

https://github.com/the-tcpdump-group/tcpdump/commit/83a412a5275cac973c5841eca3511c766bed778d

References:

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

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

Affects: fedora-all [bug 1760626]

Comment 5 Eric Christensen 2020-01-20 13:14:53 UTC
Statement:

This issue does not affect the versions of tcpdump as shipped with Red Hat Enterprise Linux 7 as they already include the patch.

Comment 6 Product Security DevOps Team 2020-11-04 02:22:29 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-16228

Comment 7 errata-xmlrpc 2020-11-04 03:41: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.