cve.bz

CVE-2020-8608 Classic Buffer Overflow

5.6 mediumEPSS 2.5%Fix available

Medium (5.6). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
In libslirp 4.1.0, as used in QEMU 4.2.0, tcp_subr.c misuses snprintf return values, leading to a buffer overflow in later code.

Severity

CVSS 3.1

5.6 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8608 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8608?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8608?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8608 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libslirp_project:libslirp4.1.0
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8qemu1:2.1+dfsg-12+deb8u14DLA-2144-1
Debian8slirp1:1.0.17-7+deb8u2DLA-2142-1
Debian9qemu1:2.8+dfsg-6+deb9u10DLA-2288-1
Debian9slirp1:1.0.17-8+deb9u1DLA-2551-1
Debian10qemu1:3.1+dfsg-8+deb10u7DSA-4733-1
Debian12, 13, 14libslirp4.2.0-1DEBIAN-CVE-2020-8608
Debian12, 13, 14qemu1:4.1-2DEBIAN-CVE-2020-8608
Debian12, 13, 14slirp1:1.0.17-11DEBIAN-CVE-2020-8608
Debian12, 13, 14slirp4netns1.0.1-1DEBIAN-CVE-2020-8608
Ubuntu16.04:LTSqemu1:2.5+dfsg-5ubuntu10.43UBUNTU-CVE-2020-8608 USN-4283-1
Ubuntu16.04:LTSslirp1:1.0.17-8ubuntu16.04.1UBUNTU-CVE-2020-8608 USN-4632-1
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.23UBUNTU-CVE-2020-8608 USN-4283-1
Ubuntu18.04:LTSslirp1:1.0.17-8ubuntu18.04.1UBUNTU-CVE-2020-8608 USN-4632-1
Ubuntu20.04:LTSlibslirp4.1.0-2ubuntu1UBUNTU-CVE-2020-8608
Ubuntu20.04:LTSqemu1:4.2-3ubuntu6.30USN-7094-1
Ubuntu20.04:LTSslirp, slirp4netnsno fix listedUBUNTU-CVE-2020-8608
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu6.24USN-7094-1
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moreslirpno fix listedUBUNTU-CVE-2020-8608
Ubuntu24.04:LTSqemu1:8.2.2+ds-0ubuntu1.4USN-7094-1
UbuntuPro:14.04:LTSqemu2.0.0+dfsg-2ubuntu1.47+esm4UBUNTU-CVE-2020-8608 USN-7094-1
UbuntuPro:14.04:LTSslirp1:1.0.17-7+deb8u2build0.14.04.1+esm1UBUNTU-CVE-2020-8608
2 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatadvanced_virtualization:8.1::el8SLOF0:20190703-1.gitba1ab360.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8hivex, perl-hivex, ruby-hivex and 10 more0:1.3.15-7.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8libguestfs-winsupport0:8.0-4.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8libiscsi, libiscsi-devel, libiscsi-utils and 3 more0:1.18.0-8.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8libnbd, libnbd-devel, ocaml-libnbd and 6 more0:1.0.3-1.module+el8.1.1+5659+15cacc69RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8libtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.7.0-1.20191018gitdc116933b7.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8libvirt, libvirt-nss, libvirt-docs and 49 more0:5.6.0-10.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8libvirt-dbus, libvirt-dbus-debuginfo, libvirt-dbus-debugsource0:1.3.0-2.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8libvirt-python, python3-libvirt, python3-libvirt-debuginfo and 1 more0:5.6.0-3.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8nbdkit, nbdkit-devel, nbdkit-server and 24 more0:1.12.5-2.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8netcf, netcf-libs, netcf-devel and 3 more0:0.2.8-12.module+el8.1.1+5309+6d656f05RHSA-2020:1261
Red Hatadvanced_virtualization:8.1::el8perl-Sys-Virt, perl-Sys-Virt-debuginfo, perl-Sys-Virt-debugsource0:5.6.0-2.module+el8.1.1+5309+6d656f05RHSA-2020:1261
109 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 moreqemu2.9.1-6.44.1SUSE-SU-2020:1538-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morexen4.9.4_10-3.71.1SUSE-SU-2020:2171-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moreqemu3.1.1.1-9.27.2SUSE-SU-2021:1918-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 moreqemu2.9.1-6.50.1SUSE-SU-2021:1894-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreqemu2.11.2-9.36.1SUSE-SU-2020:1523-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreqemu2.11.2-9.46.1SUSE-SU-2021:1895-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2qemu4.2.1-11.19.2SUSE-SU-2021:1893-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1qemu3.1.1.1-9.14.1SUSE-SU-2020:0844-1
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3qemu5.2.0-17.1SUSE-SU-2021:1942-1
SUSELinux Enterprise Point of Sale 11 SP3kvm1.4.2-53.38.1SUSE-SU-2021:14706-1
SUSELinux Enterprise Point of Sale 11 SP3xen4.2.5_22-45.36.1SUSE-SU-2020:14448-1
SUSELinux Enterprise Server 11 SP4-LTSSkvm1.4.2-60.31.1SUSE-SU-2020:14396-1
11 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1qemu, qemu-linux-user3.1.1.1-lp151.7.12.1openSUSE-SU-2020:0468-1
openSUSELeap 15.2qemu4.2.1-lp152.9.16.2openSUSE-SU-2021:1043-1
openSUSELeap 15.2qemu-linux-user4.2.1-lp152.9.16.1openSUSE-SU-2021:1043-1
openSUSELeap 15.2qemu-testsuite4.2.1-lp152.9.16.7openSUSE-SU-2021:1043-1
openSUSELeap 15.3qemu5.2.0-17.1openSUSE-SU-2021:1942-1
openSUSETumbleweedqemu6.1.0-32.1openSUSE-SU-2024:11287-1
AlmaLinux8cockpit-podman11-1.module_el8.5.0+108+00865455ALSA-2020:1379
AlmaLinux8cockpit-podman11-1.module_el8.5.0+2635+e4386a39ALSA-2020:1379
AlmaLinux8containernetworking-plugins0.8.3-4.module_el8.5.0+108+00865455ALSA-2020:1379
AlmaLinux8containernetworking-plugins0.8.3-4.module_el8.5.0+2635+e4386a39ALSA-2020:1379
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.3.0+2048+e7a0a3eaALSA-2020:2774
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.5.0+2608+72063365ALSA-2020:2774
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703ALSA-2020:2774
AlmaLinux8netcf, netcf-libs, netcf-devel0.2.8-12.module_el8.3.0+2048+e7a0a3eaALSA-2020:2774
AlmaLinux8netcf, netcf-libs, netcf-devel0.2.8-12.module_el8.5.0+2608+72063365ALSA-2020:2774
AlmaLinux8netcf, netcf-libs, netcf-devel0.2.8-12.module_el8.6.0+2880+7d9e3703ALSA-2020:2774
AlmaLinux8python-podman-api1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455ALSA-2020:1379
AlmaLinux8python-podman-api1.2.0-0.2.gitd0a45fe.module_el8.5.0+2635+e4386a39ALSA-2020:1379
7 more for AlmaLinux in the JSON.
Rocky Linux8cockpit-podman0:11-1.module+el8.4.0+559+c02fa3b2RLSA-2020:1379
Rocky Linux8cockpit-podman0:11-1.module+el8.5.0+708+6758137dRLSA-2020:1379
Rocky Linux8cockpit-podman0:11-1.module+el8.5.0+770+e2f49861RLSA-2020:1379
Rocky Linux8container-selinux2:2.124.0-1.gitf958d0c.module+el8.5.0+681+c9a1951fRLSA-2020:1379
Rocky Linux8containernetworking-plugins0:0.8.3-4.module+el8.4.0+559+c02fa3b2RLSA-2020:1379
Rocky Linux8containernetworking-plugins0:0.8.3-4.module+el8.5.0+708+6758137dRLSA-2020:1379
Rocky Linux8containernetworking-plugins0:0.8.3-4.module+el8.5.0+770+e2f49861RLSA-2020:1379
Rocky Linux8libiscsi0:1.18.0-8.module+el8.4.0+534+4680a14eRLSA-2020:2774
Rocky Linux8libiscsi0:1.18.0-8.module+el8.6.0+847+b490afddRLSA-2020:2774
Rocky Linux8libiscsi0:1.18.0-8.module+el8.7.0+1084+97b81f61RLSA-2020:2774
Rocky Linux8netcf0:0.2.8-12.module+el8.4.0+534+4680a14eRLSA-2020:2774
Rocky Linux8netcf0:0.2.8-12.module+el8.6.0+847+b490afddRLSA-2020:2774
13 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue affects user-mode or SLiRP networking implementation of the QEMU emulator. Though qemu-kvm package is built with SLiRP networking support, due to its limitations, it is not used by the virtual machine guests by default.

This issue affects versions of the qemu-kvm package as shipped with Red Hat Enterprise Linux 5, 6, 7, 8 and Red Hat Enterprise Linux Advanced Virtualization 8. Future qemu-kvm package updates for Red Hat Enterprise Linux 6, 7, 8 and Red Hat Enterprise Linux Advanced Virtualization 8 may address this issue.

Red Hat Enterprise Linux 5 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This issue is currently not planned to be addressed in its future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Red Hat OpenStack Platform:

This flaw impacts KVM user-mode or SLIRP networking, which is not used in Red Hat OpenStack Platform. Although updating is recommended for affected versions (see below), Red Hat OpenStack Platform environments are not vulnerable.

Red Hat's mitigation

This issue can only be resolved by applying updates.

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Advanced Virtualization for RHEL 8.1.1virt:8.1-8010120200304224358.5db1954dFixed 2020-04-01RHSA-2020:1261
Advanced Virtualization for RHEL 8.1.1virt-devel:8.1-8010120200304224358.5db1954dFixed 2020-04-01RHSA-2020:1261
Red Hat Enterprise Linux 6qemu-kvm-2:0.12.1.2-2.506.el6_10.7Fixed 2020-04-08RHSA-2020:1403
Red Hat Enterprise Linux 7qemu-kvm-10:1.5.3-173.el7_8.1Fixed 2020-03-31RHSA-2020:1208
Red Hat Enterprise Linux 7qemu-kvm-ma-10:2.12.0-44.el7_8.1Fixed 2020-03-31RHSA-2020:1209
Red Hat Enterprise Linux 7.6 Extended Update Supportqemu-kvm-10:1.5.3-160.el7_6.7Fixed 2020-07-07RHSA-2020:2844
Red Hat Enterprise Linux 7.7 Extended Update Supportqemu-kvm-10:1.5.3-167.el7_7.6Fixed 2020-04-07RHSA-2020:1351
Red Hat Enterprise Linux 7.7 Extended Update Supportqemu-kvm-ma-10:2.12.0-33.el7_7.3Fixed 2020-04-07RHSA-2020:1352
Red Hat Enterprise Linux 7 Extrasslirp4netns-0:0.3.0-8.el7_7Fixed 2020-03-17RHSA-2020:0889
Red Hat Enterprise Linux 8container-tools:rhel8-8010120200326094405.f8993c42Fixed 2020-04-07RHSA-2020:1379
Red Hat Enterprise Linux 8virt-devel:rhel-8020020200601195459.4cda2c84Fixed 2020-06-30RHSA-2020:2774
Red Hat Enterprise Linux 8virt:rhel-8020020200601195459.4cda2c84Fixed 2020-06-30RHSA-2020:2774
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionsvirt:rhel-8000020200526192422.f8e95b4eFixed 2020-07-21RHSA-2020:3040
Red Hat Enterprise Linux 8.1 Extended Update Supportvirt-devel:rhel-8010020200526033036.c27ad7f8Fixed 2020-06-30RHSA-2020:2773
Red Hat Enterprise Linux 8.1 Extended Update Supportvirt:rhel-8010020200526033036.c27ad7f8Fixed 2020-06-30RHSA-2020:2773
Red Hat Enterprise Linux 5kvmOut of support scope
Red Hat Enterprise Linux 5xenNot affected
Red Hat Enterprise Linux 8container-tools:1.0/slirp4netnsNot affected
Red Hat Enterprise Linux 8container-tools:2.0/slirp4netnsNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationqemu-kvmAffected
20 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-8608.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON