CVE-2023-3180 Heap buffer overflow in virtio_crypto_sym_op_helper()
A heap buffer overflow in QEMU's virtio crypto device allows attackers to execute arbitrary code or cause denial of service via crafted encryption requests.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-3180?
CVE-2023-3180 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 3 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in the QEMU virtual crypto device while handling data encryption/decryption requests in virtio_crypto_handle_sym_req. There is no check for the value of `src_len` and `dst_len` in virtio_crypto_sym_op_helper, potentially leading to a heap buffer overflow when the two values differ.
Which versions are affected by CVE-2023-3180?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Qemu Qemu.
How do I fix CVE-2023-3180?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-3180 being exploited?
There is no known exploitation of CVE-2023-3180 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-31817, AZL-35168, BELL-CVE-2023-3180, DEBIAN-CVE-2023-3180, GHSA-p36c-2mv6-8m8q, OESA-2023-1521 and 2 more.