oesa-2022-1662
Vulnerability from osv_openeuler
QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed.
Security Fix(es):
A flaw was found in the QXL display device emulation in QEMU. An integer overflow in the cursor_alloc() function can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. This flaw allows a malicious privileged guest user to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.(CVE-2021-4206)
A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values cursor->header.width and cursor->header.height can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.(CVE-2021-4207)
A NULL pointer dereference flaw was found in the floppy disk emulator of QEMU. This issue occurs while processing read/write ioport commands if the selected floppy drive is not initialized with a block device. This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. The highest threat from this vulnerability is to system availability.(CVE-2021-20196)
A flaw was found in the virtio-net device of QEMU. This flaw was inadvertently introduced with the fix for CVE-2021-3748, which forgot to unmap the cached virtqueue elements on error, leading to memory leakage and other unexpected results. Affected QEMU version: 6.2.0.(CVE-2022-26353)
A flaw was found in the vhost-vsock device of QEMU. In case of error, an invalid element was not detached from the virtqueue before freeing its memory, leading to memory leakage and other unexpected results. Affected QEMU versions <= 6.2.0.(CVE-2022-26354)
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"qemu-4.1.0-63.oe1.aarch64.rpm",
"qemu-block-curl-4.1.0-63.oe1.aarch64.rpm",
"qemu-block-iscsi-4.1.0-63.oe1.aarch64.rpm",
"qemu-block-rbd-4.1.0-63.oe1.aarch64.rpm",
"qemu-block-ssh-4.1.0-63.oe1.aarch64.rpm",
"qemu-debuginfo-4.1.0-63.oe1.aarch64.rpm",
"qemu-debugsource-4.1.0-63.oe1.aarch64.rpm",
"qemu-guest-agent-4.1.0-63.oe1.aarch64.rpm",
"qemu-img-4.1.0-63.oe1.aarch64.rpm"
],
"noarch": [
"qemu-help-4.1.0-63.oe1.noarch.rpm"
],
"src": [
"qemu-4.1.0-63.oe1.src.rpm"
],
"x86_64": [
"qemu-4.1.0-63.oe1.x86_64.rpm",
"qemu-block-curl-4.1.0-63.oe1.x86_64.rpm",
"qemu-block-iscsi-4.1.0-63.oe1.x86_64.rpm",
"qemu-block-rbd-4.1.0-63.oe1.x86_64.rpm",
"qemu-block-ssh-4.1.0-63.oe1.x86_64.rpm",
"qemu-debuginfo-4.1.0-63.oe1.x86_64.rpm",
"qemu-debugsource-4.1.0-63.oe1.x86_64.rpm",
"qemu-guest-agent-4.1.0-63.oe1.x86_64.rpm",
"qemu-img-4.1.0-63.oe1.x86_64.rpm",
"qemu-seabios-4.1.0-63.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP1",
"name": "qemu",
"purl": "pkg:rpm/openEuler/qemu\u0026distro=openEuler-20.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.0-63.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"qemu-4.1.0-67.oe1.aarch64.rpm",
"qemu-block-curl-4.1.0-67.oe1.aarch64.rpm",
"qemu-block-iscsi-4.1.0-67.oe1.aarch64.rpm",
"qemu-block-rbd-4.1.0-67.oe1.aarch64.rpm",
"qemu-block-ssh-4.1.0-67.oe1.aarch64.rpm",
"qemu-debuginfo-4.1.0-67.oe1.aarch64.rpm",
"qemu-debugsource-4.1.0-67.oe1.aarch64.rpm",
"qemu-guest-agent-4.1.0-67.oe1.aarch64.rpm",
"qemu-img-4.1.0-67.oe1.aarch64.rpm"
],
"noarch": [
"qemu-help-4.1.0-67.oe1.noarch.rpm"
],
"src": [
"qemu-4.1.0-67.oe1.src.rpm"
],
"x86_64": [
"qemu-4.1.0-67.oe1.x86_64.rpm",
"qemu-block-curl-4.1.0-67.oe1.x86_64.rpm",
"qemu-block-iscsi-4.1.0-67.oe1.x86_64.rpm",
"qemu-block-rbd-4.1.0-67.oe1.x86_64.rpm",
"qemu-block-ssh-4.1.0-67.oe1.x86_64.rpm",
"qemu-debuginfo-4.1.0-67.oe1.x86_64.rpm",
"qemu-debugsource-4.1.0-67.oe1.x86_64.rpm",
"qemu-guest-agent-4.1.0-67.oe1.x86_64.rpm",
"qemu-img-4.1.0-67.oe1.x86_64.rpm",
"qemu-seabios-4.1.0-67.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP3",
"name": "qemu",
"purl": "pkg:rpm/openEuler/qemu\u0026distro=openEuler-20.03-LTS-SP3"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.0-67.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"qemu-6.2.0-34.oe1.aarch64.rpm",
"qemu-block-curl-6.2.0-34.oe1.aarch64.rpm",
"qemu-block-iscsi-6.2.0-34.oe1.aarch64.rpm",
"qemu-block-rbd-6.2.0-34.oe1.aarch64.rpm",
"qemu-block-ssh-6.2.0-34.oe1.aarch64.rpm",
"qemu-debuginfo-6.2.0-34.oe1.aarch64.rpm",
"qemu-debugsource-6.2.0-34.oe1.aarch64.rpm",
"qemu-guest-agent-6.2.0-34.oe1.aarch64.rpm",
"qemu-img-6.2.0-34.oe1.aarch64.rpm",
"qemu-hw-usb-host-6.2.0-34.oe2203.aarch64.rpm"
],
"noarch": [
"qemu-help-6.2.0-34.oe2203.noarch.rpm"
],
"src": [
"qemu-6.2.0-34.oe2203.src.rpm"
],
"x86_64": [
"qemu-6.2.0-34.oe1.x86_64.rpm",
"qemu-block-curl-6.2.0-34.oe1.x86_64.rpm",
"qemu-block-iscsi-6.2.0-34.oe1.x86_64.rpm",
"qemu-block-rbd-6.2.0-34.oe1.x86_64.rpm",
"qemu-block-ssh-6.2.0-34.oe1.x86_64.rpm",
"qemu-debuginfo-6.2.0-34.oe1.x86_64.rpm",
"qemu-debugsource-6.2.0-34.oe1.x86_64.rpm",
"qemu-guest-agent-6.2.0-34.oe1.x86_64.rpm",
"qemu-img-6.2.0-34.oe1.x86_64.rpm",
"qemu-hw-usb-host-6.2.0-34.oe2203.x86_64.rpm",
"qemu-seabios-6.2.0-34.oe2203.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS",
"name": "qemu",
"purl": "pkg:rpm/openEuler/qemu\u0026distro=openEuler-22.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.2.0-34.oe2203"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "High"
},
"details": "QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed.\n\nSecurity Fix(es):\n\nA flaw was found in the QXL display device emulation in QEMU. An integer overflow in the cursor_alloc() function can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. This flaw allows a malicious privileged guest user to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.(CVE-2021-4206)\n\nA flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values cursor-\u003eheader.width and cursor-\u003eheader.height can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.(CVE-2021-4207)\n\nA NULL pointer dereference flaw was found in the floppy disk emulator of QEMU. This issue occurs while processing read/write ioport commands if the selected floppy drive is not initialized with a block device. This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. The highest threat from this vulnerability is to system availability.(CVE-2021-20196)\n\nA flaw was found in the virtio-net device of QEMU. This flaw was inadvertently introduced with the fix for CVE-2021-3748, which forgot to unmap the cached virtqueue elements on error, leading to memory leakage and other unexpected results. Affected QEMU version: 6.2.0.(CVE-2022-26353)\n\nA flaw was found in the vhost-vsock device of QEMU. In case of error, an invalid element was not detached from the virtqueue before freeing its memory, leading to memory leakage and other unexpected results. Affected QEMU versions \u0026lt;= 6.2.0.(CVE-2022-26354)",
"id": "OESA-2022-1662",
"modified": "2026-08-06T11:04:56Z",
"published": "2022-05-20T11:04:56Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1662"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4206"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4207"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20196"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26353"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26354"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "qemu security update",
"upstream": [
"CVE-2021-4206",
"CVE-2021-4207",
"CVE-2021-20196",
"CVE-2022-26353",
"CVE-2022-26354"
]
}
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.
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.
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.