CVE-2018-17974 Memory corruption in n/a

Medium 5.5 Published Updated

A heap-based buffer over-read in Tcpreplay allows attackers to cause a denial of service via crafted packets.

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-17974?

CVE-2018-17974 is a medium-severity memory corruption vulnerability in Broadcom Tcpreplay, published on 3 Oct 2018. 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

An issue was discovered in Tcpreplay 4.3.0 beta1. A heap-based buffer over-read was triggered in the function dlt_en10mb_encode() of the file plugins/dlt_en10mb/en10mb.c, due to inappropriate values in the function memmove(). The length (pktlen + ctx -> l2len) can be larger than source value (packet + ctx->l2len) because the function fails to ensure the length of a packet is valid. This leads to Denial of Service.

Weakness: CWE-125

Which versions are affected by CVE-2018-17974?

It affects 1 product.

Products include Broadcom Tcpreplay.

How do I fix CVE-2018-17974?

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-17974 being exploited?

There is no known exploitation of CVE-2018-17974 in the wild and no public exploit code.

All Broadcom Tcpreplay vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-17974, GHSA-x28p-fjp4-h4m4, UBUNTU-CVE-2018-17974.

Is CVE-2018-17974 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free