Out-of-Bounds Affecting xen package, versions [4.8.0,4.12.2)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (24th 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-XEN-2383997
  • published26 Jan 2022
  • disclosed11 Dec 2019
  • creditUnknown

Introduced: 11 Dec 2019

CVE-2019-19581  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade xen to version 4.12.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. An issue was discovered in Xen through 4.12.x allowing 32-bit Arm guest OS users to cause a denial of service (out-of-bounds access) because certain bit iteration is mishandled. In a number of places bitmaps are being used by the hypervisor to track certain state. Iteration over all bits involves functions which may misbehave in certain corner cases: On 32-bit Arm accesses to bitmaps with bit a count which is a multiple of 32, an out of bounds access may occur. A malicious guest may cause a hypervisor crash or hang, resulting in a Denial of Service (DoS). All versions of Xen are vulnerable. 32-bit Arm systems are vulnerable. 64-bit Arm systems are not vulnerable.

References

CVSS Scores

version 3.1