Out-of-bounds read in libslirp - CVE-2020-29129
Published: November 26, 2020 / Updated: June 22, 2021
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to buffer over-read in ncsi.c when processing ARP/NCSI packets in 'arp_input' or 'ncsi_input' routines, because the libslirp library tries to read a certain amount of header data even if that exceeds the total packet length. A remote attacker can perform a denial of service attack.
Affected software
Arch Linux
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Micro
openSUSE Leap Micro
SUSE Enterprise Storage
Fedora
Ubuntu
libslirp (Alpine package)
slirp4netns-debuginfo
slirp4netns
slirp4netns-debugsource
libslirp0 (Ubuntu package)
libslirp
How to mitigate CVE-2020-29129
libslirp (Alpine package) - update to 4.4.0-r0
slirp4netns-debuginfo - update to 0.4.7-150100.3.18.1
slirp4netns - update to 0.4.7-150100.3.18.1
slirp4netns-debugsource - update to 0.4.7-150100.3.18.1
libslirp0 (Ubuntu package) - addressed in versions 4.1.0-2ubuntu2.2, 4.3.1-1ubuntu0.1, 4.4.0-1ubuntu0.1, 4.4.0-1ubuntu0.21.10.1
libslirp - addressed in versions 4.3.1-2.el8, 4.3.1-3.fc32, 4.3.1-3.fc33