CVE-2021-3410 Memory corruption in libcaca

High 7.8 Published Updated

A buffer overflow in libcaca allows local attackers to execute arbitrary code in the user context.

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-3410?

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

Official description

A flaw was found in libcaca v0.99.beta19. A buffer overflow issue in caca_resize function in libcaca/caca/canvas.c may lead to local execution of arbitrary code in the user context.

Weakness: CWE-190, CWE-119

Which versions are affected by CVE-2021-3410?

It affects 3 products.

Linux distribution packages (7)
libcaca SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions0.99.beta19.git20171003-150200.11.9.1
libcaca SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions0.99.beta19.git20171003-150200.11.9.1
libcaca SUSE:Linux Enterprise Server 12 SP5All versions0.99.beta18-14.12.1
libcaca SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.99.beta18-14.12.1
libcaca SUSE:Linux Enterprise Software Development Kit 12 SP5All versions0.99.beta18-14.12.1
libcaca openSUSE:Leap 15.3All versions0.99.beta19.git20171003-150200.11.9.1
libcaca openSUSE:Leap 15.4All versions0.99.beta19.git20171003-150200.11.9.1

Products include Debian Debian Linux, Fedoraproject Fedora, Libcaca Project Libcaca.

How do I fix CVE-2021-3410?

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-3410 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-3410, DLA-2584-1, GHSA-9xcm-8x7r-552c, MGASA-2021-0128, SUSE-SU-2022:3400-1, SUSE-SU-2022:3428-1 and 2 more.

Is CVE-2021-3410 in your software?

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

Check your SBOMs for free