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

Medium 5.5 Published Updated

An attacker can cause a segmentation fault or application crash in GNU Recutils via a use-after-free vulnerability in record destruction.

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

CVE-2021-46021 is a medium-severity use after free vulnerability in Fedoraproject Fedora, published on 14 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 Use-After-Free vulnerability in rec_record_destroy() at rec-record.c of GNU Recutils v1.8.90 can lead to a segmentation fault or application crash.

Weakness: CWE-416

Which versions are affected by CVE-2021-46021?

It affects 2 products.

Products include Fedoraproject Fedora, Gnu Recutils.

How do I fix CVE-2021-46021?

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

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-46021, GHSA-gj92-2vg9-c8jv, UBUNTU-CVE-2021-46021.

Is CVE-2021-46021 in your software?

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

Check your SBOMs for free