Bug 1760500 (CVE-2018-16301)

Summary: CVE-2018-16301 tcpdump: Buffer overflow in the -F command line argument parser
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: luhliari, mruprich, msehnout, msekleta, thozza
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: tcpdump 4.99.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-21 18:14:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1760624, 2086463    
Bug Blocks: 1760627    

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]