Double Free Affecting tcpreplay package, versions <4.3.4-1ubuntu0.1~esm2


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.33% (25th 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-UBUNTU2204-TCPREPLAY-6142007
  • published29 Jan 2025
  • disclosed21 Dec 2023

Introduced: 21 Dec 2023

CVE-2023-4256  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 tcpreplay to version 4.3.4-1ubuntu0.1~esm2 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 Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the tcpedit_dlt_cleanup() function within plugins/dlt_plugins.c. This vulnerability can be exploited by supplying a specifically crafted file to the tcprewrite binary. This flaw enables a local attacker to initiate a Denial of Service (DoS) attack.

CVSS Base Scores

version 3.1