FKIE_CVE-2021-29631
Vulnerability from fkie_nvd - Published: 2021-08-30 18:15 - Updated: 2026-06-17 03:48
Severity
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.
References
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 11.4 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 12.2 | |
| freebsd | freebsd | 13.0 | |
| freebsd | freebsd | 13.0 | |
| freebsd | freebsd | 13.0 | |
| freebsd | freebsd | 13.0 |
{
"affected": [
{
"affectedData": [
{
"product": "FreeBSD",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "FreeBSD 13.0-RELEASE before p4, 12.2-RELEASE before p10, 11.4-RELEASE before p13"
}
]
}
],
"source": "secteam@freebsd.org"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:-:*:*:*:*:*:*",
"matchCriteriaId": "4A865EA1-01D7-4E5A-9D13-80780F8A9D7A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p1:*:*:*:*:*:*",
"matchCriteriaId": "9FCA6A72-2A72-45FD-A43D-B5BF7C329121",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p10:*:*:*:*:*:*",
"matchCriteriaId": "C1E296FC-EFF0-4F78-9481-DF24A94279D5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p11:*:*:*:*:*:*",
"matchCriteriaId": "3E550DC6-D276-4F68-A842-A39A4D525E11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p12:*:*:*:*:*:*",
"matchCriteriaId": "04E8D3A9-9330-4DFE-9D6B-547C2D765EB7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p13:*:*:*:*:*:*",
"matchCriteriaId": "EBBAD78B-A0CA-4A38-9BEC-62230DED4589",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p2:*:*:*:*:*:*",
"matchCriteriaId": "90F9B3CB-3B60-4AA8-9EAF-4F0BE7D27691",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p3:*:*:*:*:*:*",
"matchCriteriaId": "C04EE177-C7D1-4049-B680-F961A27C677F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p4:*:*:*:*:*:*",
"matchCriteriaId": "218AF216-7B03-4C02-B55F-2316AF14074B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p5:*:*:*:*:*:*",
"matchCriteriaId": "33266717-0359-4243-868B-B84436E2A89E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p6:*:*:*:*:*:*",
"matchCriteriaId": "99965487-D5FD-4507-A43B-F241FEEA5237",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p7:*:*:*:*:*:*",
"matchCriteriaId": "050F0B6A-4674-45E9-A079-60A68CFA4D25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p8:*:*:*:*:*:*",
"matchCriteriaId": "E71B99C2-EECE-43F9-A66E-CF4B3A94A57D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:11.4:p9:*:*:*:*:*:*",
"matchCriteriaId": "C75EF084-153F-4418-AC4B-0C2EAA431243",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:-:*:*:*:*:*:*",
"matchCriteriaId": "73D9C08B-8F5B-40C4-A5BD-B00D2E4C012D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p1:*:*:*:*:*:*",
"matchCriteriaId": "62A178A3-6A52-4981-9A27-FB07AD8AF778",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p10:*:*:*:*:*:*",
"matchCriteriaId": "8C2FC0BA-0116-43C2-A497-9157B1B9D55E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p2:*:*:*:*:*:*",
"matchCriteriaId": "54A487B1-E5CE-4C76-87E8-518D24C5D86D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p3:*:*:*:*:*:*",
"matchCriteriaId": "9F084CAB-D138-4BF6-ABC2-2314F0FDE0D1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p4:*:*:*:*:*:*",
"matchCriteriaId": "4C232CA9-FC15-4596-AA99-74509A714C12",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p5:*:*:*:*:*:*",
"matchCriteriaId": "25BD9C03-6219-49EB-B503-CD44A3B9AA0A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p6:*:*:*:*:*:*",
"matchCriteriaId": "900755CC-07EF-4799-B5B4-F3762B3650E8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p7:*:*:*:*:*:*",
"matchCriteriaId": "0C33002B-9958-4714-A734-066F36DE9040",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p8:*:*:*:*:*:*",
"matchCriteriaId": "562CEDBA-8BAE-4886-8AA3-AFF8E7F5A9C6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:12.2:p9:*:*:*:*:*:*",
"matchCriteriaId": "37283D43-72DD-4FF9-BDBC-61B92051084B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:13.0:-:*:*:*:*:*:*",
"matchCriteriaId": "174265E7-6B73-4546-B4C7-3826C7EB5624",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:13.0:p1:*:*:*:*:*:*",
"matchCriteriaId": "04A0E266-714C-4753-A652-A51F25582C78",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:13.0:p2:*:*:*:*:*:*",
"matchCriteriaId": "556111A1-C236-4DF6-9438-F9C874451A58",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:freebsd:freebsd:13.0:p3:*:*:*:*:*:*",
"matchCriteriaId": "1673F16B-463A-492C-B66F-48917008F7F5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "En FreeBSD versiones 13.0-STABLE anteriores a n246941-20f96f215562, 12.2-STABLE anteriores a r370400, 11.4-STABLE anteriores a r370399, 13.0-RELEASE anteriores a p4, 12.2-RELEASE anteriores a p10, y 11.4-RELEASE anteriores a p13, determinados modelos de dispositivos basados en VirtIO en bhyve presentaban un fallo al manejar los errores cuando se obten\u00edan descriptores de E/S. Un hu\u00e9sped malicioso puede causar al modelo de dispositivo operar en vectores de E/S no inicializados, conllevando a una corrupci\u00f3n de la memoria, un bloqueo del proceso bhyve y, posiblemente, una ejecuci\u00f3n de c\u00f3digo arbitrario en el proceso bhyve."
}
],
"id": "CVE-2021-29631",
"lastModified": "2026-06-17T03:48:03.800",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "HIGH",
"cvssData": {
"accessComplexity": "LOW",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "COMPLETE",
"baseScore": 7.2,
"confidentialityImpact": "COMPLETE",
"integrityImpact": "COMPLETE",
"vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
"version": "2.0"
},
"exploitabilityScore": 3.9,
"impactScore": 10.0,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2021-08-30T18:15:08.923",
"references": [
{
"source": "secteam@freebsd.org",
"tags": [
"Vendor Advisory"
],
"url": "https://security.FreeBSD.org/advisories/FreeBSD-SA-21:13.bhyve.asc"
},
{
"source": "secteam@freebsd.org",
"tags": [
"Third Party Advisory"
],
"url": "https://security.netapp.com/advisory/ntap-20210923-0004/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Vendor Advisory"
],
"url": "https://security.FreeBSD.org/advisories/FreeBSD-SA-21:13.bhyve.asc"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Third Party Advisory"
],
"url": "https://security.netapp.com/advisory/ntap-20210923-0004/"
}
],
"sourceIdentifier": "secteam@freebsd.org",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-908"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.