PT-2021-18377 · Freebsd · Freebsd

Agustin Gianni

·

Published

2021-08-24

·

Updated

2021-12-14

·

CVE-2021-29631

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions FreeBSD versions 13.0-STABLE before n246941-20f96f215562 FreeBSD versions 12.2-STABLE before r370400 FreeBSD versions 11.4-STABLE before r370399 FreeBSD versions 13.0-RELEASE before p4 FreeBSD versions 12.2-RELEASE before p10 FreeBSD versions 11.4-RELEASE before p13
Description The issue arises from certain VirtIO-based device models in bhyve failing to handle errors when fetching I/O descriptors. A malicious guest may cause the device model to operate on uninitialized I/O vectors, leading to memory corruption, crashing of the bhyve process, and possibly arbitrary code execution in the bhyve process.
Recommendations For FreeBSD versions 13.0-STABLE before n246941-20f96f215562, update to a version after n246941-20f96f215562. For FreeBSD versions 12.2-STABLE before r370400, update to a version after r370400. For FreeBSD versions 11.4-STABLE before r370399, update to a version after r370399. For FreeBSD versions 13.0-RELEASE before p4, update to a version after p4. For FreeBSD versions 12.2-RELEASE before p10, update to a version after p10. For FreeBSD versions 11.4-RELEASE before p13, update to a version after p13.

Fix

Use of Uninitialized Resource

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-29631
FREEBSD-SA-21_13

Affected Products

Freebsd