Bug 1970489 (CVE-2021-3595) - CVE-2021-3595 QEMU: slirp: invalid pointer initialization may lead to information disclosure (tftp)
Summary: CVE-2021-3595 QEMU: slirp: invalid pointer initialization may lead to informa...
Keywords:
Status: NEW
Alias: CVE-2021-3595
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1970843 1970847 1970850 1970841 1970844 1970845 1970846 1970849 1972241 1972242 1972243
Blocks: 1969478 1970557
TreeView+ depends on / blocked
 
Reported: 2021-06-10 14:54 UTC by Mauro Matteo Cascella
Modified: 2021-08-04 07:50 UTC (History)
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 tftp_input() function and could occur while processing a udp packet that is smaller than the size of the 'tftp_t' 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:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2021-06-10 14:54:24 UTC
An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The function tftp_input() handles requests for the tftp protocol from the guest. While processing a udp packet that is smaller than the size of the tftp_t 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/3f179481
https://gitlab.freedesktop.org/slirp/libslirp/-/commit/990163cf

Comment 5 Mauro Matteo Cascella 2021-06-15 13:50:39 UTC
Created libslirp tracking bugs for this issue:

Affects: epel-all [bug 1972242]
Affects: fedora-all [bug 1972243]


Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1972241]


Note You need to log in before you can comment on or make changes to this bug.