Headline
CVE-2021-3593: invalid pointer initialization may lead to information disclosure (udp6)
An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The flaw exists in the udp6_input() function and could occur while processing a udp packet that is smaller than the size of the ‘udphdr’ structure. This issue may lead to out-of-bounds read access or indirect host memory disclosure to the guest. The highest threat from this vulnerability is to data confidentiality. This flaw affects libslirp versions prior to 4.6.0.
Bug 1970487 (CVE-2021-3593) - CVE-2021-3593 QEMU: slirp: invalid pointer initialization may lead to information disclosure (udp6)
Summary: CVE-2021-3593 QEMU: slirp: invalid pointer initialization may lead to informa…
Keywords:
Status:
CLOSED ERRATA
Alias:
CVE-2021-3593
Product:
Security Response
Classification:
Other
Component:
vulnerability
Sub Component:
Version:
unspecified
Hardware:
All
OS:
Linux
Priority:
low
Severity:
low
Target Milestone:
—
Assignee:
Red Hat Product Security
QA Contact:
Docs Contact:
URL:
Whiteboard:
Depends On:
1970834 1970835 1970836 1970837 1970838 1970839 1970840 1970842 1972245 1972247 1972250
Blocks:
1969478 1970557
TreeView+
depends on / blocked
Reported:
2021-06-10 14:51 UTC by Mauro Matteo Cascella
Modified:
2022-04-17 21:27 UTC (History)
CC List:
27 users (show)
Fixed In Version:
libslirp 4.6.0
Doc Type:
If docs needed, set a value
Doc Text:
An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The flaw exists in the udp6_input() function and could occur while processing a udp packet that is smaller than the size of the ‘udphdr’ structure. This issue may lead to out-of-bounds read access or indirect host memory disclosure to the guest. The highest threat from this vulnerability is to data confidentiality.
Clone Of:
Environment:
Last Closed:
2021-11-09 22:55:03 UTC
Attachments
(Terms of Use)
Add an attachment (proposed patch, testcase, etc.)
Links
System
ID
Private
Priority
Status
Summary
Last Updated
Red Hat Product Errata
RHSA-2021:4191
0
None
None
None
2021-11-09 17:40:00 UTC
Description Mauro Matteo Cascella 2021-06-10 14:51:49 UTC
An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The function udp6_input() handles requests for the udp protocol from the guest. While processing a udp packet that is smaller than the size of the udphdr structure it uses memory from outside the working mbuf buffer. This issue may lead to out of bound read access or indirect memory disclosure to the guest.
Upstream commits: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/93e645e7 https://gitlab.freedesktop.org/slirp/libslirp/-/commit/de71c15d
Comment 5 Mauro Matteo Cascella 2021-06-15 13:51:20 UTC
Created libslirp tracking bugs for this issue:
Affects: epel-all [bug 1972247] Affects: fedora-all [bug 1972250]
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1972245]
Comment 6 errata-xmlrpc 2021-11-09 17:39:57 UTC
This issue has been addressed in the following products:
Red Hat Enterprise Linux 8
Via RHSA-2021:4191 https://access.redhat.com/errata/RHSA-2021:4191
Comment 7 Product Security DevOps Team 2021-11-09 22:54:59 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):
https://access.redhat.com/security/cve/cve-2021-3593
Note You need to log in before you can comment on or make changes to this bug.
Related news
An update for the virt:rhel and virt-devel:rhel modules is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2020-15859: QEMU: net: e1000e: use-after-free while sending packets * CVE-2021-3592: QEMU: slirp: invalid pointer initialization may lead to information disclosure (bootp) * CVE-2021-3593: QEMU: slirp: invalid pointer initialization may lead to information disclosure (udp6) * CVE-2021-3594: QEMU: slirp: invalid pointer initi...
An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The flaw exists in the udp6_input() function and could occur while processing a udp packet that is smaller than the size of the 'udphdr' structure. This issue may lead to out-of-bounds read access or indirect host memory disclosure to the guest. The highest threat from this vulnerability is to data confidentiality. This flaw affects libslirp versions prior to 4.6.0.