CVE-2021-46142 Use after free in n/a

Medium 5.5 Published Updated

Attackers can trigger invalid free operations in uriparser, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-46142?

CVE-2021-46142 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 6 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An issue was discovered in uriparser before 0.9.6. It performs invalid free operations in uriNormalizeSyntax.

Weakness: CWE-416

Which versions are affected by CVE-2021-46142?

It affects 7 products.

Products include Debian Debian Linux, Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Opensuse Backports, Opensuse Factory, Opensuse Leap and 1 more.

How do I fix CVE-2021-46142?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-46142, GHSA-5jh9-cx9r-v7ww, UBUNTU-CVE-2021-46142.

Is CVE-2021-46142 in your software?

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

Check your SBOMs for free