Release of invalid pointer or reference in libslirp - CVE-2021-3595

 

Release of invalid pointer or reference in libslirp - CVE-2021-3595

Published: June 22, 2021


Vulnerability identifier: #VU54311
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3595
CWE-ID: CWE-763
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to invalid pointer initialization within the tftp_input() function while processing UDP packets in the SLiRP networking implementation of QEMU. A malicious guest could use this vulnerability to read host memory.

Affected software

libslirp
Gentoo Linux
Arch Linux
SUSE Manager Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
HPE Helion Openstack
SUSE OpenStack Cloud
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
SUSE OpenStack Cloud Crowbar
Red Hat CodeReady Linux Builder for IBM z Systems
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
openEuler
Ubuntu
Fedora
qemu-ipxe
qemu-vgabios
qemu-seabios
qemu-x86
qemu-x86-debuginfo
qemu-tools-debuginfo
qemu-tools
qemu-kvm
qemu-lang
qemu-guest-agent-debuginfo
qemu-guest-agent
qemu-debugsource
qemu-block-ssh-debuginfo
qemu-block-ssh
qemu-block-rbd-debuginfo
qemu-block-rbd
qemu-block-curl-debuginfo
qemu-block-curl
qemu
qemu-block-iscsi-debuginfo
qemu-block-iscsi
qemu-s390-debuginfo
qemu-s390
qemu-arm-debuginfo
qemu-arm
qemu-ppc-debuginfo
qemu-ppc
qemu-debuginfo
libslirp0 (Ubuntu package)
qemu-img
qemu-help
libslirp
libslirp0
libslirp-debugsource
libslirp0-debuginfo
libslirp-devel
qemu-sgabios

How to mitigate CVE-2021-3595

Install updates from vendor's website.

libslirp - update to 4.6.0
qemu-ipxe - addressed in versions 1.0.0+-5.35.1, 1.0.0+-6.53.1, 1.0.0+-9.49.1, 1.0.0-41.68.1
qemu-vgabios - addressed in versions 1.9.1_0_gb3ef39f-41.68.1, 1.10.2_0_g5f4c7b1-6.53.1, 1.11.0_0_g63451fc-5.35.1, 1.11.0_0_g63451fc-9.49.1
qemu-seabios - addressed in versions 1.9.1_0_gb3ef39f-41.68.1, 1.10.2_0_g5f4c7b1-6.53.1, 1.11.0_0_g63451fc-5.35.1, 1.11.0_0_g63451fc-9.49.1
qemu-x86 - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-x86-debuginfo - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-9.49.1
qemu-tools-debuginfo - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-tools - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-kvm - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-lang - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-guest-agent-debuginfo - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-guest-agent - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-debugsource - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-block-ssh-debuginfo - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-block-ssh - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-block-rbd-debuginfo - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-block-rbd - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-block-curl-debuginfo - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-block-curl - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu - addressed in versions 2.6.2-41.68.1, 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-block-iscsi-debuginfo - addressed in versions 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-block-iscsi - addressed in versions 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-s390-debuginfo - addressed in versions 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-s390 - addressed in versions 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-arm-debuginfo - addressed in versions 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-arm - addressed in versions 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-ppc-debuginfo - addressed in versions 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-ppc - addressed in versions 2.9.1-6.53.1, 2.11.2-5.35.1, 2.11.2-9.49.1
qemu-debuginfo - update to 2.11.2-9.49.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
qemu-img - update to 4.1.0-58
qemu - update to 4.1.0-58
qemu-block-curl - update to 4.1.0-58
qemu-debuginfo - update to 4.1.0-58
qemu-guest-agent - update to 4.1.0-58
qemu-block-iscsi - update to 4.1.0-58
qemu-block-ssh - update to 4.1.0-58
qemu-block-rbd - update to 4.1.0-58
qemu-debugsource - update to 4.1.0-58
qemu-help - update to 4.1.0-58
qemu-seabios - update to 4.1.0-58
libslirp - addressed in versions 4.3.1-4.fc33, 4.3.1-5.fc33, 4.4.0-3.fc34, 4.4.0-4.fc34
libslirp0 - addressed in versions 4.3.1-150300.2.7.1, 4.3.1-150300.3.3.1
libslirp-debugsource - addressed in versions 4.3.1-150300.2.7.1, 4.3.1-150300.3.3.1
libslirp0-debuginfo - addressed in versions 4.3.1-150300.2.7.1, 4.3.1-150300.3.3.1
libslirp-devel - addressed in versions 4.3.1-150300.2.7.1, 4.3.1-150300.3.3.1
qemu-sgabios - addressed in versions 8-5.35.1, 8-6.53.1, 8-9.49.1, 8-41.68.1

External References

Related Security Bulletins