Access of Uninitialized Pointer Affecting libslirp package, versions [,4.6.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (20th 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-2371763
  • published26 Jan 2022
  • disclosed15 Jun 2021
  • creditUnknown

Introduced: 15 Jun 2021

CVE-2021-3592  (opens in a new tab)
CWE-824  (opens in a new tab)

How to fix?

Upgrade libslirp to version 4.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Access of Uninitialized Pointer. An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The flaw exists in the bootp_input() function and could occur while processing a udp packet that is smaller than the size of the 'bootp_t' structure. A malicious guest could use this flaw to leak 10 bytes of uninitialized heap memory from the host. The highest threat from this vulnerability is to data confidentiality. This flaw affects libslirp versions prior to 4.6.0.

CVSS Scores

version 3.1