CVE-2021-3700 Use after free in usbredir

Medium 6.4 Published Updated

A use-after-free flaw in usbredir allows attackers to execute arbitrary code or cause a denial of service via serialized data.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3700?

CVE-2021-3700 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 24 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use-after-free vulnerability was found in usbredir in versions prior to 0.11.0 in the usbredirparser_serialize() in usbredirparser/usbredirparser.c. This issue occurs when serializing large amounts of buffered write data in the case of a slow or blocked destination.

Weakness: CWE-416

Which versions are affected by CVE-2021-3700?

It affects 4 products.

Linux distribution packages (1)
usbredir openSUSE:TumbleweedAll versions0.11.0-1.2

Products include Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Spice-Space Usbredir.

How do I fix CVE-2021-3700?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-3700 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-8824, DEBIAN-CVE-2021-3700, DLA-2958-1, GHSA-9885-wxqj-48q7, MGASA-2022-0133, OESA-2021-1355 and 3 more.

Is CVE-2021-3700 in your software?

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

Check your SBOMs for free