CVE-2020-7039 Memory corruption in n/a

Medium 5.6 Published Updated

Heap-based buffer overflow in libslirp allows attackers to execute arbitrary code or cause denial of service via crafted IRC DCC commands.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-7039?

CVE-2020-7039 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 16 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2020-7039?

It affects 4 products.

Linux distribution packages (40)
containernetworking-plugins AlmaLinux:8All versions0.7.4-4.git9ebe139.module_el8.3.0+2044+12421f43
containernetworking-plugins AlmaLinux:8All versions0.7.4-4.git9ebe139.module_el8.4.0+2496+12421f43
containernetworking-plugins AlmaLinux:8All versions0.7.4-4.git9ebe139.module_el8.5.0+119+9a9ec082
containers-common AlmaLinux:8All versions1:0.1.32-6.git1715c90.module_el8.4.0+2478+12421f43
containers-common AlmaLinux:8All versions1:0.1.32-6.git1715c90.module_el8.4.0+2496+12421f43
containers-common AlmaLinux:8All versions1:0.1.32-6.git1715c90.module_el8.5.0+119+9a9ec082
fuse-overlayfs AlmaLinux:8All versions0.3-5.module_el8.3.0+2044+12421f43
fuse-overlayfs AlmaLinux:8All versions0.3-5.module_el8.4.0+2496+12421f43
fuse-overlayfs AlmaLinux:8All versions0.3-5.module_el8.5.0+119+9a9ec082
oci-systemd-hook AlmaLinux:8All versions1:0.1.15-2.git2d0b8a3.module_el8.3.0+2044+12421f43
oci-systemd-hook AlmaLinux:8All versions1:0.1.15-2.git2d0b8a3.module_el8.4.0+2496+12421f43
oci-systemd-hook AlmaLinux:8All versions1:0.1.15-2.git2d0b8a3.module_el8.5.0+119+9a9ec082
oci-umount AlmaLinux:8All versions2:2.3.4-2.git87f9237.module_el8.3.0+2044+12421f43
oci-umount AlmaLinux:8All versions2:2.3.4-2.git87f9237.module_el8.4.0+2496+12421f43
oci-umount AlmaLinux:8All versions2:2.3.4-2.git87f9237.module_el8.5.0+119+9a9ec082
runc AlmaLinux:8All versions1.0.0-56.rc5.dev.git2abd837.module_el8.3.0+2044+12421f43
runc AlmaLinux:8All versions1.0.0-56.rc5.dev.git2abd837.module_el8.4.0+2496+12421f43
runc AlmaLinux:8All versions1.0.0-56.rc5.dev.git2abd837.module_el8.5.0+119+9a9ec082
skopeo AlmaLinux:8All versions1:0.1.32-6.git1715c90.module_el8.4.0+2478+12421f43
skopeo AlmaLinux:8All versions1:0.1.32-6.git1715c90.module_el8.4.0+2496+12421f43
skopeo AlmaLinux:8All versions1:0.1.32-6.git1715c90.module_el8.5.0+119+9a9ec082
qemu-img Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-173.el7
qemu-kvm Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-173.el7
qemu-kvm-common Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-173.el7
qemu-kvm-debuginfo Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-173.el7
qemu-kvm-tools Red Hat:enterprise_linux:7::clientAll versions10:1.5.3-173.el7
qemu-img Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-173.el7
qemu-kvm Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-173.el7
qemu-kvm-common Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-173.el7
qemu-kvm-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-173.el7
qemu-kvm-tools Red Hat:enterprise_linux:7::computenodeAll versions10:1.5.3-173.el7
qemu-img Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-173.el7
qemu-kvm Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-173.el7
qemu-kvm-common Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-173.el7
qemu-kvm-debuginfo Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-173.el7
qemu-kvm-tools Red Hat:enterprise_linux:7::serverAll versions10:1.5.3-173.el7
qemu-img Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-173.el7
qemu-kvm Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-173.el7
qemu-kvm-common Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-173.el7
qemu-kvm-debuginfo Red Hat:enterprise_linux:7::workstationAll versions10:1.5.3-173.el7

Products include Debian Debian Linux, Libslirp Project Libslirp, Opensuse Leap, Qemu Qemu.

How do I fix CVE-2020-7039?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-7039 being exploited?

There is no known exploitation of CVE-2020-7039 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2020:1360, DEBIAN-CVE-2020-7039, DLA-2076-1, DLA-2090-1, GHSA-fr8m-vw66-8v9r, RHSA-2020:1116 and 4 more.

Is CVE-2020-7039 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free