REDHAT-BUG-2302487: Medium severity qemu vulnerability

Published Aug 2, 2024
·
Updated

A flaw was discovered in the qemu code for temporarily exposing an NBD server (used for storage migration and other tasks), where qemu can crash if a client still has a socket open at the time the server is taken offline. Even when qemu is set up to only accept clients with proper TLS credentials, an attacker without the TLS credentials can exploit the flaw by connecting a second socket while a storage migration is ongoing through the intended socket, where the attacker then stalls the NBD handshake to not reach the point of the TLS negotiation, then waiting for the server to go offline. When the NBD server is stopped, closing the attacker's socket can cause qemu to crash, forming a denial of service attack.

Affected Software

1 affected component
qemu

Event History

Aug 2, 2024
Data Sourced
via Red Hat·11:35 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this denial-of-service issue?

QEMU deployments that temporarily expose an NBD server for storage migration or similar tasks are exposed. The issue requires an attacker to be able to connect to that NBD server while it is active.

2

Does configuring TLS client authentication prevent exploitation?

No. An attacker without valid TLS credentials can connect a second socket and stall the NBD handshake before TLS negotiation occurs, then trigger the crash when the NBD server is taken offline.

3

What conditions are required for an attacker to crash QEMU?

A legitimate storage migration or other operation must be using the temporarily exposed NBD server, and the attacker must establish a separate connection during that period. The attacker stalls that connection's handshake and waits for the server to stop, at which point closing the socket can crash QEMU.

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