Improper Handling of Unexpected Data Type Affecting libguestfs/libnbd package, versions [,1.8.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (15th 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-LIBGUESTFSLIBNBD-9673827
  • published28 Sept 2023
  • disclosed28 Sept 2023
  • creditEric Blake

Introduced: 28 Sep 2023

CVE-2023-5215  (opens in a new tab)
CWE-241  (opens in a new tab)

How to fix?

Upgrade libguestfs/libnbd to version 1.8.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Unexpected Data Type when the nbd_get_size() function is used. An attacker can cause an application crash or other unintended behavior by replying with a block size larger than 2^63.

CVSS Base Scores

version 3.1