Use-after-free in libslirp - CVE-2019-15890

 

Use-after-free in libslirp - CVE-2019-15890

Published: September 10, 2019 / Updated: April 28, 2020


Vulnerability identifier: #VU20964
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-15890
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists in "ip_reass()" routine in "ip_input.c" file while reassembling incoming packets, if the first fragment is bigger than the m->m_dat[] buffer. A remote attacker can send a specially crafted packet and cause the application to crash.



Affected software

libslirp
Debian Linux
Amazon Linux AMI
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Opensuse
qemu (Ubuntu package)
slirp4netns (Red Hat package)
qemu (Debian package)
Juniper Junos Space

How to mitigate CVE-2019-15890

Install update from vendor's website.

libslirp - update to 4.1.0
qemu (Ubuntu package) - addressed in versions 1:2.5+dfsg-5ubuntu10.42, 1:2.11+dfsg-1ubuntu7.20, 1:3.1+dfsg-2ubuntu3.6, 1:4.0+dfsg-0ubuntu9.1
slirp4netns (Red Hat package) - update to 0.3.0-8.el7_7
qemu (Debian package) - addressed in versions 1:2.8+dfsg-6+deb9u9, 1:3.1+dfsg-8+deb10u4
Juniper Junos Space - update to 20.3R1

External References

Related Security Bulletins