Bug 1760500 (CVE-2018-16301) - CVE-2018-16301 tcpdump: Buffer overflow in the -F command line argument parser
Summary: CVE-2018-16301 tcpdump: Buffer overflow in the -F command line argument parser
Status: NEW
Alias: CVE-2018-16301
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody
QA Contact:
Depends On: 1760624 2086463
Blocks: 1760627
TreeView+ depends on / blocked
Reported: 2019-10-10 17:03 UTC by Pedro Sampaio
Modified: 2023-07-07 08:31 UTC (History)
5 users (show)

Fixed In Version: tcpdump 4.99.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-01-21 18:14:23 UTC

Attachments (Terms of Use)

Description Pedro Sampaio 2019-10-10 17:03:15 UTC
libpcap before 1.9.1, as used in tcpdump before 4.9.3, has a buffer overflow and/or over-read because of errors in pcapng reading.



Comment 1 Pedro Sampaio 2019-10-10 23:58:38 UTC
Created libpcap tracking bugs for this issue:

Affects: fedora-all [bug 1760624]

Comment 2 Riccardo Schirone 2020-01-21 18:14:23 UTC
According to upstream (see comments after https://github.com/the-tcpdump-group/libpcap/issues/855#issuecomment-575450988) this is not a real issue in libpcap, so I'm closing this as NOTABUG.

Comment 4 Mauro Matteo Cascella 2022-05-16 08:51:44 UTC
Following the discussion on https://github.com/the-tcpdump-group/libpcap/issues/855, I'm turning this bug into a security issue for tcpdump (instead of libpcap).

Upstream fix:
https://github.com/the-tcpdump-group/tcpdump/commit/faf8fb7 [master]
https://github.com/the-tcpdump-group/tcpdump/commit/8ab211a [4.9]

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