Buffer Overflow Affecting libslirp package, versions [,4.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.49% (83rd 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-LIBSLIRP-2371764
  • published26 Jan 2022
  • disclosed6 Feb 2020
  • creditUnknown

Introduced: 6 Feb 2020

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

How to fix?

Upgrade libslirp to version 4.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. 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 Base Scores

version 3.1