Heap-based Buffer Overflow Affecting virt:rhel/lua-guestfs package, versions <1:1.38.4-15.module+el8.2.0+5297+222a20af


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.7% (81st 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-3772175
  • published26 Jul 2021
  • disclosed27 Jan 2020

Introduced: 27 Jan 2020

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

How to fix?

Upgrade RHEL:8 virt:rhel/lua-guestfs to version 1:1.38.4-15.module+el8.2.0+5297+222a20af or higher.
This issue was patched in RHSA-2020:2774.

NVD Description

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

In libslirp 4.1.0, as used in QEMU 4.2.0, tcp_subr.c misuses snprintf return values, leading to a buffer overflow in later code.

CVSS Scores

version 3.1