CVE-2020-7039

NameCVE-2020-7039
Descriptiontcp_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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2076-1, DLA-2090-1, DLA-2551-1, DSA-4616-1
Debian Bugs949084, 949085

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libslirp (PTS)bullseye4.4.0-1+deb11u2fixed
bookworm4.7.0-1fixed
sid, trixie4.8.0-1fixed
qemu (PTS)jessie, jessie (lts)1:2.1+dfsg-12+deb8u23fixed
stretch (security)1:2.8+dfsg-6+deb9u17fixed
stretch (lts), stretch1:2.8+dfsg-6+deb9u19fixed
buster1:3.1+dfsg-8+deb10u8fixed
buster (security)1:3.1+dfsg-8+deb10u12fixed
bullseye1:5.2+dfsg-11+deb11u3fixed
bullseye (security)1:5.2+dfsg-11+deb11u2fixed
bookworm1:7.2+dfsg-7+deb12u6fixed
trixie1:8.2.4+ds-1fixed
sid1:9.0.2+ds-1fixed
slirp (PTS)jessie, jessie (lts)1:1.0.17-7+deb8u2fixed
stretch (security), stretch (lts), stretch1:1.0.17-8+deb9u1fixed
buster1:1.0.17-8+deb10u1fixed
sid, bullseye, trixie, bookworm1:1.0.17-11fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libslirpsource(unstable)4.1.0-2949084
qemusourcewheezy(unfixed)end-of-life
qemusourcejessie1:2.1+dfsg-12+deb8u13DLA-2090-1
qemusourcestretch1:2.8+dfsg-6+deb9u9DSA-4616-1
qemusourcebuster1:3.1+dfsg-8+deb10u4DSA-4616-1
qemusource(unstable)1:4.1-2
qemu-kvmsourcewheezy(unfixed)end-of-life
qemu-kvmsource(unstable)(unfixed)
slirpsourcewheezy(unfixed)end-of-life
slirpsourcejessie1:1.0.17-7+deb8u1DLA-2076-1
slirpsourcestretch1:1.0.17-8+deb9u1DLA-2551-1
slirpsourcebuster1:1.0.17-8+deb10u1
slirpsource(unstable)1:1.0.17-10949085

Notes

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

Search for package or bug name: Reporting problems