Advisory

DEBIAN-CVE-2021-4207

Also known as: CVE-2021-4207

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.2, vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2022-04-29 17:15 UTC
Modified
2026-10-23 18:05 UTC

Affected packages and fixes

qemu

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1:7.0+dfsg-1 (ecosystem)

Fixed versions

1:7.0+dfsg-1

Fix

  • Fixed version 1:7.0+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

qemu

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1:7.0+dfsg-1 (ecosystem)

Fixed versions

1:7.0+dfsg-1

Fix

  • Fixed version 1:7.0+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

qemu

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1:7.0+dfsg-1 (ecosystem)

Fixed versions

1:7.0+dfsg-1

Fix

  • Fixed version 1:7.0+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences