CVE-2023-3354 Improper i/o watch removal in tls handshake can lead to remote unauthenticated denial of service

High 7.5 Published Updated

A remote unauthenticated attacker can cause a denial of service in the QEMU VNC server by triggering a NULL pointer dereference during TLS handshake cleanup.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-3354?

CVE-2023-3354 is a high-severity vulnerability in Fedoraproject Fedora, published on 11 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in the QEMU built-in VNC server. When a client connects to the VNC server, QEMU checks whether the current number of connections crosses a certain threshold and if so, cleans up the previous connection. If the previous connection happens to be in the handshake phase and fails, QEMU cleans up the connection again, resulting in a NULL pointer dereference issue. This could allow a remote unauthenticated client to cause a denial of service.

Weakness: CWE-476

Which versions are affected by CVE-2023-3354?

It affects 4 products.

Linux distribution packages (40)
qemu-guest-agent AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-img AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-audio-pa AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-block-curl AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-block-rbd AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-common AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-core AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-device-display-virtio-gpu AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-device-display-virtio-gpu-ccw AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-device-display-virtio-gpu-pci AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-device-display-virtio-vga AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-device-usb-host AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-device-usb-redirect AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-docs AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-tools AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-ui-egl-headless AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-kvm-ui-opengl AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-pr-helper AlmaLinux:9All versions17:7.2.0-14.el9_2.5.alma.1
qemu-guest-agent Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-guest-agent-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-img Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-img-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-audio-pa Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-audio-pa-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-block-curl Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-block-curl-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-block-rbd Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-block-rbd-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-common Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-common-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-core Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-core-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-debugsource Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-device-display-virtio-gpu Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-device-display-virtio-gpu-ccw Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-device-display-virtio-gpu-ccw-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5
qemu-kvm-device-display-virtio-gpu-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions17:7.2.0-14.el9_2.5

Products include Fedoraproject Fedora, Qemu Qemu, Redhat Enterprise Linux, Redhat Openstack Platform.

How do I fix CVE-2023-3354?

Apply the vendor's patch.

Is CVE-2023-3354 being exploited?

There is no known exploitation of CVE-2023-3354 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2023:5094, AZL-31659, AZL-35171, BELL-CVE-2023-3354, DEBIAN-CVE-2023-3354, GHSA-vhf9-5f69-9hjm and 5 more.

Is CVE-2023-3354 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free