CVE-2018-16301 Memory corruption in tcpdump
A buffer overflow in tcpdump's command-line argument parser allows attackers to execute arbitrary code or cause a denial of service by providing a specific large file name.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-16301?
CVE-2018-16301 is a high-severity memory corruption vulnerability in Tcpdump Tcpdump, published on 3 Oct 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The command-line argument parser in tcpdump before 4.99.0 has a buffer overflow in tcpdump.c:read_infile(). To trigger this vulnerability the attacker needs to create a 4GB file on the local filesystem and to specify the file name as the value of the -F command-line argument of tcpdump.
Which versions are affected by CVE-2018-16301?
It affects 1 product.
Linux distribution packages (37)
tcpdump SUSE:Enterprise Storage 6 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Enterprise Storage 7 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:HPE Helion OpenStack 8 | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 3.9.8-1.30.19.1 |
tcpdump SUSE:Linux Enterprise Real Time 15 SP2 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Server 11 SP4-LTSS | All versions | 3.9.8-1.30.19.1 |
tcpdump SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise Server 12 SP5 | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise Server 15 SP1-BCL | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Server 15 SP2-BCL | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Server 15-LTSS | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:Linux Enterprise Server for SAP Applications 15 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Manager Proxy 4.1 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Manager Retail Branch Server 4.1 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:Manager Server 4.1 | All versions | 4.9.2-3.18.1 |
tcpdump SUSE:OpenStack Cloud 8 | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:OpenStack Cloud 9 | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:OpenStack Cloud Crowbar 8 | All versions | 4.9.2-14.20.1 |
tcpdump SUSE:OpenStack Cloud Crowbar 9 | All versions | 4.9.2-14.20.1 |
tcpdump openSUSE:Leap 15.3 | All versions | 4.9.2-3.18.1 |
Products include Tcpdump Tcpdump.
How do I fix CVE-2018-16301?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-16301 being exploited?
There is no known exploitation of CVE-2018-16301 in the wild and no public exploit code.
Other vulnerabilities in Tcpdump Tcpdump
Sources
Also known as ALPINE-CVE-2018-16301, AZL-8506, DEBIAN-CVE-2018-16301, GHSA-h8wh-rj39-x373, OESA-2022-1862, OESA-2022-1863 and 5 more.