CVE-2023-3180
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.23%• Percentile: 15%
Techniques & Countermeasures
- CWE-122•Heap-based Buffer Overflow
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- debian•qemu
< 1:5.2+dfsg-11+deb11u3 | < 1:7.2+dfsg-7+deb12u2 | < 1:8.0.4+dfsg-1 | < 1:8.0.4+dfsg-1
- debian•debian_linux
10.0
- fedoraproject•fedora
38
- qemu•qemu
< 8.1.0 | 8.1.0:rc0 | 8.1.0:rc1 | 8.1.0:rc2
References (6)
- https://access.redhat.com/security/cve/CVE-2023-3180
- https://bugzilla.redhat.com/show_bug.cgi?id=2222424
- https://lists.debian.org/debian-lts-announce/2023/10/msg00006.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MURWGXDIF2WTDXV36T6HFJDBL632AO7R/
- https://security.netapp.com/advisory/ntap-20230831-0008/
- https://security-tracker.debian.org/tracker/CVE-2023-3180