Vulnerability Name:

CVE-2021-29631 (CCN-208608)

Assigned:2021-08-24
Published:2021-08-24
Updated:2021-12-14
Summary:In FreeBSD 13.0-STABLE before n246941-20f96f215562, 12.2-STABLE before r370400, 11.4-STABLE before r370399, 13.0-RELEASE before p4, 12.2-RELEASE before p10, and 11.4-RELEASE before p13, certain VirtIO-based device models in bhyve failed 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.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.4 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.3 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-908
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-29631

Source: XF
Type: UNKNOWN
freebsd-cve202129631-code-exec(208608)

Source: MISC
Type: Vendor Advisory
https://security.FreeBSD.org/advisories/FreeBSD-SA-21:13.bhyve.asc

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20210923-0004/

Source: CCN
Type: FreeBSD Security Advisory FreeBSD-SA-21:13.bhyve
Missing error handling in bhyve(8) device models

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-29631

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:11.4:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p10:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p11:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p12:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p13:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p3:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p5:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p6:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p7:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p8:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p9:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p10:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p3:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p5:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p6:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p7:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p8:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p9:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:p3:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:11.4:stable:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:release:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    freebsd freebsd 11.4 -
    freebsd freebsd 11.4 p1
    freebsd freebsd 11.4 p10
    freebsd freebsd 11.4 p11
    freebsd freebsd 11.4 p12
    freebsd freebsd 11.4 p13
    freebsd freebsd 11.4 p2
    freebsd freebsd 11.4 p3
    freebsd freebsd 11.4 p4
    freebsd freebsd 11.4 p5
    freebsd freebsd 11.4 p6
    freebsd freebsd 11.4 p7
    freebsd freebsd 11.4 p8
    freebsd freebsd 11.4 p9
    freebsd freebsd 12.2 -
    freebsd freebsd 12.2 p1
    freebsd freebsd 12.2 p10
    freebsd freebsd 12.2 p2
    freebsd freebsd 12.2 p3
    freebsd freebsd 12.2 p4
    freebsd freebsd 12.2 p5
    freebsd freebsd 12.2 p6
    freebsd freebsd 12.2 p7
    freebsd freebsd 12.2 p8
    freebsd freebsd 12.2 p9
    freebsd freebsd 13.0 -
    freebsd freebsd 13.0 p1
    freebsd freebsd 13.0 p2
    freebsd freebsd 13.0 p3
    freebsd freebsd 11.4 stable
    freebsd freebsd 11.4 release