Heap-based Buffer Overflow Affecting slirp4netns package, versions <0:0.4.2-2.git21fdece.module+el8.1.1+5460+3ac089c3


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.59% (79th 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-CENTOS8-SLIRP4NETNS-2021437
  • published26 Jul 2021
  • disclosed7 Jan 2020

Introduced: 7 Jan 2020

CVE-2020-7039  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:8 slirp4netns to version 0:0.4.2-2.git21fdece.module+el8.1.1+5460+3ac089c3 or higher.

NVD Description

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

tcp_emu in tcp_subr.c in libslirp 4.1.0, as used in QEMU 4.2.0, mismanages memory, as demonstrated by IRC DCC commands in EMU_IRC. This can cause a heap-based buffer overflow or other out-of-bounds access which can lead to a DoS or potential execute arbitrary code.

CVSS Scores

version 3.1