Out-of-bounds Read Affecting tcpreplay package, versions <4.3.1-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-TCPREPLAY-1560989
  • published3 Oct 2018
  • disclosed3 Oct 2018

Introduced: 3 Oct 2018

CVE-2018-17974  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Debian:12 tcpreplay to version 4.3.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tcpreplay package and not the tcpreplay package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.