Stack-based Buffer Overflow Affecting qemu-kvm-common-rhev package, versions <10:2.10.0-21.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.42% (87th 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-RHEL7-QEMUKVMCOMMONRHEV-5075371
  • published26 Jul 2021
  • disclosed28 Nov 2017

Introduced: 28 Nov 2017

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

How to fix?

Upgrade RHEL:7 qemu-kvm-common-rhev to version 10:2.10.0-21.el7 or higher.
This issue was patched in RHSA-2018:1113.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-kvm-common-rhev package and not the qemu-kvm-common-rhev package as distributed by RHEL. See How to fix? for RHEL:7 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.