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

Published Jun 21, 2023
·
Updated

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.

Other sources

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

— Microsoft

When a client connects to the VNC server, QEMU will check whether the current number of connections is greater than the limitation. If so, it will clean up the previous connection. If that connection happens to be in the handshake phase and fails, QEMU will clean up the connection again, which will result in a NULL pointer dereference issue. A remote unauthenticated user could use this flaw to cause a denial of service.

— Red Hat

Affected Software

20 affected componentsFixes available
ubuntu/qemu<1:4.2-3ubuntu6.28
1:4.2-3ubuntu6.28
ubuntu/qemu<1:6.2+dfsg-2ubuntu6.16
1:6.2+dfsg-2ubuntu6.16
ubuntu/qemu<1:7.2+dfsg-5ubuntu2.4
1:7.2+dfsg-5ubuntu2.4
debian/qemu<=1:5.2+dfsg-11+deb11u2
1:5.2+dfsg-11+deb11u31:7.2+dfsg-7+deb12u71:9.0.2+ds-21:9.1.0+ds-3
Qemu Qemu
redhat Openstack Platform=13.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Qemu Qemu<8.1.0
Qemu Qemu=8.1.0-rc0
Qemu Qemu=8.1.0-rc1
Fedoraproject Fedora=38
Microsoft azl3 qemu 6.2.0-18
Microsoft cbl2 qemu 6.2.0-19
Microsoft azl3 qemu 8.2.0-1
ubuntu/qemu<1:2.11+dfsg-1ubuntu7.42+esm5
1:2.11+dfsg-1ubuntu7.42+esm5
ubuntu/qemu<1:4.2-3ubuntu6.28
1:4.2-3ubuntu6.28
ubuntu/qemu<1:6.2+dfsg-2ubuntu6.16
1:6.2+dfsg-2ubuntu6.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/qemu to a version that resolves this vulnerability.

    Fixed in 1:4.2-3ubuntu6.28
  2. Upgrade

    Upgrade ubuntu/qemu to a version that resolves this vulnerability.

    Fixed in 1:6.2+dfsg-2ubuntu6.16
  3. Upgrade

    Upgrade ubuntu/qemu to a version that resolves this vulnerability.

    Fixed in 1:7.2+dfsg-5ubuntu2.4
  4. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:5.2+dfsg-11+deb11u3Fixed in 1:7.2+dfsg-7+deb12u7Fixed in 1:9.0.2+ds-2Fixed in 1:9.1.0+ds-3
  5. Upgrade

    Upgrade ubuntu/qemu to a version that resolves this vulnerability.

    Fixed in 1:2.11+dfsg-1ubuntu7.42+esm5

Event History

Jun 21, 2023
Data Sourced
02:50 PM
DescriptionSeverityAffected Software
Jul 11, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·04:16 PM
Data Sourced
via MITRE·04:16 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Data Sourced
05:15 PM
Weakness
Dec 14, 2023
Data Sourced
via Red Hat·06:00 AM
DescriptionSeverityAffected Software
Mar 11, 2024
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·06:15 PM
WeaknessAffected Software
Updated
via NVD·06:15 PM
Affected Software
Aug 5, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Jun 17, 2026
Updated
via NVD·06:13 AM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-3354?

CVE-2023-3354 is a vulnerability found in the QEMU built-in VNC server that allows an attacker to cause denial of service or potentially execute arbitrary code.

2

How does CVE-2023-3354 affect QEMU?

CVE-2023-3354 affects the QEMU built-in VNC server, specifically when a client connects to the server.

3

What is the severity of CVE-2023-3354?

The severity of CVE-2023-3354 is rated as high.

4

What is the impact of CVE-2023-3354?

CVE-2023-3354 can result in denial of service or potentially allow an attacker to execute arbitrary code.

5

How can I mitigate CVE-2023-3354?

To mitigate CVE-2023-3354, it is recommended to update QEMU to a patched version provided by the vendor or apply the recommended security patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203