Name | CVE-2021-3595 |
Description | 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. This flaw affects libslirp versions prior to 4.6.0. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DLA-2753-1, DLA-3362-1 |
Debian Bugs | 989996 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libslirp (PTS) | bullseye | 4.4.0-1+deb11u2 | fixed |
bookworm, sid | 4.7.0-1 | fixed | |
qemu (PTS) | buster | 1:3.1+dfsg-8+deb10u8 | vulnerable |
buster (security) | 1:3.1+dfsg-8+deb10u10 | fixed | |
bullseye (security), bullseye | 1:5.2+dfsg-11+deb11u2 | fixed | |
bookworm, sid | 1:7.2+dfsg-7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libslirp | source | bullseye | 4.4.0-1+deb11u2 | |||
libslirp | source | (unstable) | 4.6.1-1 | 989996 | ||
qemu | source | stretch | 1:2.8+dfsg-6+deb9u15 | DLA-2753-1 | ||
qemu | source | buster | 1:3.1+dfsg-8+deb10u10 | DLA-3362-1 | ||
qemu | source | (unstable) | 1:4.1-2 |
https://gitlab.freedesktop.org/slirp/libslirp/-/commit/93e645e72a056ec0b2c16e0299fc5c6b94e4ca17 (v4.6.0)
https://gitlab.freedesktop.org/slirp/libslirp/-/commit/3f17948137155f025f7809fdc38576d5d2451c3d (v4.6.0)
https://gitlab.freedesktop.org/slirp/libslirp/-/commit/990163cf3ac86b7875559f49602c4d76f46f6f30 (v4.6.0)
qemu 1:4.1-2 switched to system libslirp, marking that version as fixed.