Heap-based Buffer Overflow Affecting virt:rhel/sgabios package, versions <1:0.20170427git-2.module+el8.0.0+3075+09be6b65


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.07% (85th 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-RHEL8-VIRT-3898003
  • published26 Jul 2021
  • disclosed14 Dec 2018

Introduced: 14 Dec 2018

CVE-2018-20815  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:8 virt:rhel/sgabios to version 1:0.20170427git-2.module+el8.0.0+3075+09be6b65 or higher.
This issue was patched in RHSA-2019:1175.

NVD Description

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

In QEMU 3.1.0, load_device_tree in device_tree.c calls the deprecated load_image function, which has a buffer overflow risk.