CVE-2021-0561 Memory corruption in Android

Medium 5.5 Published Updated

A missing bounds check in the Android audio encoder allows local attackers to perform an out-of-bounds write, leading to information disclosure without user interaction.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-0561?

CVE-2021-0561 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 22 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In append_to_verify_fifo_interleaved_ of stream_encoder.c, there is a possible out of bounds write due to a missing bounds check. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-174302683

Weakness: CWE-787

Which versions are affected by CVE-2021-0561?

It affects 3 products.

Linux distribution packages (22)
flac AlmaLinux:9All versions1.3.3-10.el9
flac-devel AlmaLinux:9All versions1.3.3-10.el9
flac-libs AlmaLinux:9All versions1.3.3-10.el9
flac Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9
flac-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9
flac-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9
flac-libs Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9
flac-libs-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9
flac Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9
flac-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9
flac-debugsource Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9
flac-devel Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9
flac-libs-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9
flac Rocky Linux:9All versions0:1.3.3-10.el9
flac SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions1.3.2-3.9.1
flac SUSE:Linux Enterprise Module for Package Hub 15 SP3All versions1.3.2-3.9.1
flac SUSE:Linux Enterprise Real Time 15 SP2All versions1.3.2-3.9.1
flac SUSE:Linux Enterprise Server 12 SP5All versions1.3.0-18.5.1
flac SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.3.0-18.5.1
flac SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.3.0-18.5.1
flac SUSE:Linux Enterprise Workstation Extension 12 SP5All versions1.3.0-18.5.1
flac openSUSE:Leap 15.3All versions1.3.2-3.9.1

Products include Debian Debian Linux, Fedoraproject Fedora, Google Android.

How do I fix CVE-2021-0561?

Apply the vendor's patch.

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

Is CVE-2021-0561 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as A-174302683, ALPINE-CVE-2021-0561, ALSA-2022:8078, DEBIAN-CVE-2021-0561, DLA-2951-1, DLA-3094-1 and 10 more.

Is CVE-2021-0561 in your software?

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

Check your SBOMs for free