Out-of-bounds Write Affecting qemu-project/qemu package, versions [0,libslirp-4.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-QEMUPROJECTQEMU-3007024
  • published26 Jan 2022
  • disclosed16 Jan 2020
  • creditUnknown

Introduced: 16 Jan 2020

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

How to fix?

Upgrade qemu-project/qemu to version libslirp-4.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write 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