Out-of-bounds Write Affecting qemu package, versions <1:2.10+dfsg-0ubuntu3.5


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
11.93% (96th 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-UBUNTU1710-QEMU-428212
  • published27 Jun 2018
  • disclosed27 Jul 2018

Introduced: 27 Jun 2018

CVE-2017-15118  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:17.10 qemu to version 1:2.10+dfsg-0ubuntu3.5 or higher.

NVD Description

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

A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an export name of size up to 4096 bytes, which in fact should be limited to 256 bytes, causing an out-of-bounds stack write in the qemu process. If NBD server requires TLS, the attacker cannot trigger the buffer overflow without first successfully negotiating TLS.