Name | CVE-2020-7039 |
Description | tcp_emu in tcp_subr.c in libslirp 4.1.0, as used in QEMU 4.2.0, mismanages memory, as demonstrated by IRC DCC commands in EMU_IRC. This can cause a heap-based buffer overflow or other out-of-bounds access which can lead to a DoS or potential execute arbitrary code. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2076-1, DLA-2090-1, DLA-2551-1, DSA-4616-1 |
Debian Bugs | 949084, 949085 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libslirp (PTS) | bullseye | 4.4.0-1+deb11u2 | fixed |
bookworm | 4.7.0-1 | fixed | |
sid, trixie | 4.8.0-1 | fixed | |
qemu (PTS) | jessie, jessie (lts) | 1:2.1+dfsg-12+deb8u23 | fixed |
stretch (security) | 1:2.8+dfsg-6+deb9u17 | fixed | |
stretch (lts), stretch | 1:2.8+dfsg-6+deb9u19 | fixed | |
buster (security), buster, buster (lts) | 1:3.1+dfsg-8+deb10u12 | fixed | |
bullseye | 1:5.2+dfsg-11+deb11u3 | fixed | |
bullseye (security) | 1:5.2+dfsg-11+deb11u2 | fixed | |
bookworm | 1:7.2+dfsg-7+deb12u7 | fixed | |
sid, trixie | 1:9.1.1+ds-5 | fixed | |
slirp (PTS) | jessie, jessie (lts) | 1:1.0.17-7+deb8u2 | fixed |
stretch (security), stretch (lts), stretch | 1:1.0.17-8+deb9u1 | fixed | |
buster | 1:1.0.17-8+deb10u1 | fixed | |
sid, trixie, bullseye, bookworm | 1:1.0.17-11 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libslirp | source | (unstable) | 4.1.0-2 | 949084 | ||
qemu | source | wheezy | (unfixed) | end-of-life | ||
qemu | source | jessie | 1:2.1+dfsg-12+deb8u13 | DLA-2090-1 | ||
qemu | source | stretch | 1:2.8+dfsg-6+deb9u9 | DSA-4616-1 | ||
qemu | source | buster | 1:3.1+dfsg-8+deb10u4 | DSA-4616-1 | ||
qemu | source | (unstable) | 1:4.1-2 | |||
qemu-kvm | source | wheezy | (unfixed) | end-of-life | ||
qemu-kvm | source | (unstable) | (unfixed) | |||
slirp | source | wheezy | (unfixed) | end-of-life | ||
slirp | source | jessie | 1:1.0.17-7+deb8u1 | DLA-2076-1 | ||
slirp | source | stretch | 1:1.0.17-8+deb9u1 | DLA-2551-1 | ||
slirp | source | buster | 1:1.0.17-8+deb10u1 | |||
slirp | source | (unstable) | 1:1.0.17-10 | 949085 |
https://www.openwall.com/lists/oss-security/2020/01/16/2
https://gitlab.freedesktop.org/slirp/libslirp/commit/2655fffed7a9e765bcb4701dd876e9dab975f289
https://gitlab.freedesktop.org/slirp/libslirp/commit/ce131029d6d4a405cb7d3ac6716d03e58fb4a5d9
https://gitlab.freedesktop.org/slirp/libslirp/commit/82ebe9c370a0e2970fb5695aa19aa5214a6a1c80
qemu 1:4.1-2 switched to system libslirp, marking that version as fixed.
https://github.com/rootless-containers/slirp4netns/security/advisories/GHSA-vjwg-42w7-w64h