Out-of-bounds read in libsndfile - CVE-2021-4156

 

Out-of-bounds read in libsndfile - CVE-2021-4156

Published: May 11, 2022


Vulnerability identifier: #VU63043
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-4156
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition within the flac_read_loop() function in flac.c. A remote attacker can pass specially crafted data to the application, trigger an out-of-bounds read error and perform a denial of service (DoS) attack.


Affected software

libsndfile
Amazon Linux AMI
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Anolis OS
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
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
Red Hat CodeReady Linux Builder for IBM z Systems
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Module for Basesystem
openEuler
libsndfile (Red Hat package)
SUSE Linux Enterprise Module for Packagehub Subpackages
libsndfile1 (Ubuntu package)
sndfile-programs (Ubuntu package)
libsndfile
libsndfile-32bit
libsndfile-debuginfo
libsndfile-debugsource
libsndfile-debuginfo-32bit
libsndfile1
libsndfile-devel
libsndfile1-debuginfo-32bit
libsndfile1-debuginfo
libsndfile1-32bit
libsndfile1-32bit-debuginfo
libsndfile-utils
libsndfile-utils-help
libsndfile1-dev (Ubuntu package)
media-libs/libsndfile
EMC ECS
Red Hat OpenShift Container Platform

How to mitigate CVE-2021-4156

Install updates from vendor's website.

libsndfile - update to 1.1.0
libsndfile (Red Hat package) - update to 1.0.28-12.el8
libsndfile1 (Ubuntu package) - addressed in versions Ubuntu Pro, sndfile-programs, 1.0.28-7ubuntu0.3, 1.0.31-2ubuntu0.2, 1.0.2510ubuntu0.16.04.3+esm2
sndfile-programs (Ubuntu package) - addressed in versions Ubuntu Pro, 1.0.28-7ubuntu0.3, 1.0.31-2ubuntu0.2, 1.0.2510ubuntu0.16.04.3+esm2
libsndfile - update to 1.0.20-2.19.18.1
libsndfile-32bit - update to 1.0.20-2.19.18.1
libsndfile-debuginfo - update to 1.0.20-2.19.18.1
libsndfile-debugsource - addressed in versions 1.0.20-2.19.18.1, 1.0.25-36.26.1, 1.0.28-5.15.1
libsndfile-debuginfo-32bit - update to 1.0.20-2.19.18.1
libsndfile1 - addressed in versions 1.0.25-36.26.1, 1.0.28-5.15.1
libsndfile-devel - addressed in versions 1.0.25-36.26.1, 1.0.28-5.15.1
libsndfile1-debuginfo-32bit - update to 1.0.25-36.26.1
libsndfile1-debuginfo - addressed in versions 1.0.25-36.26.1, 1.0.28-5.15.1
libsndfile1-32bit - addressed in versions 1.0.25-36.26.1, 1.0.28-5.15.1
libsndfile1-32bit-debuginfo - update to 1.0.28-5.15.1
libsndfile - update to 1.0.28-12
libsndfile - update to 1.0.28-20
libsndfile-debuginfo - update to 1.0.28-20
libsndfile-debugsource - update to 1.0.28-20
libsndfile-utils - update to 1.0.28-20
libsndfile-devel - update to 1.0.28-20
libsndfile-utils-help - update to 1.0.28-20
libsndfile - update to 1.0.31-6
libsndfile1-dev (Ubuntu package) - update to 1.0.2510ubuntu0.16.04.3+esm2
media-libs/libsndfile - update to 1.1.0
EMC ECS - update to 3.7.0.2
Red Hat OpenShift Container Platform - update to 4.11.0

External References

Related Security Bulletins