6.5Medium

CVE-2023-6683Qemu: vnc: null pointer dereference in qemu_clipboard_request()

Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 6; Red Hat Red Hat Enterprise Linux 7 Published: (2 years ago)

Description

A flaw was found in the QEMU built-in VNC server while processing ClientCutText messages. The qemu_clipboard_request() function can be reached before vnc_server_cut_text_caps() was called and had the chance to initialize the clipboard peer, leading to a NULL pointer dereference. This could allow a malicious authenticated VNC client to crash QEMU and trigger a denial of service.

Weakness (CWE): CWE-476

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
advanced virtualization 8 —
enterprise linux 8 —
enterprise linux 9 —
qemu qemu 6.1.0 – < 8.2.2
redhat enterprise linux 8.0
Red Hat Red Hat Enterprise Linux 6 —
Red Hat Red Hat Enterprise Linux 7 —
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization —
Red Hat Red Hat Enterprise Linux 9 all versions

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* ≥ 6.1.0 < 8.2.2
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*