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

Critical 9.8 Published Updated

A use-after-free in glibc's mq_notify function allows attackers to cause application crashes or potentially other impacts via crafted thread attributes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-33574?

CVE-2021-33574 is a critical use after free vulnerability in Debian Debian Linux, published on 25 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The mq_notify function in the GNU C Library (aka glibc) versions 2.32 and 2.33 has a use-after-free. It may use the notification thread attributes object (passed through its struct sigevent parameter) after it has been freed by the caller, leading to a denial of service (application crash) or possibly unspecified other impact.

Weakness: CWE-416

Which versions are affected by CVE-2021-33574?

It affects 13 products.

Linux distribution packages (7)
glibc SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2.22-114.15.1
glibc SUSE:Linux Enterprise Server 12 SP5All versions2.22-114.15.1
glibc SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions2.22-114.15.1
glibc SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2.22-114.15.1
glibc SUSE:Linux Enterprise Software Development Kit 12 SP5All versions2.22-114.15.1
glibc SUSE:OpenStack Cloud 9All versions2.22-114.15.1
glibc SUSE:OpenStack Cloud Crowbar 9All versions2.22-114.15.1

Products include Debian Debian Linux, Fedoraproject Fedora, Gnu Glibc, Netapp Cloud Backup, Netapp E-Series Santricity Os Controller, Netapp H300e Firmware and 7 more.

How do I fix CVE-2021-33574?

Apply the vendor's patch.

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-33574, GHSA-rx5m-j84j-22pg, MGASA-2021-0308, OESA-2021-1239, SUSE-SU-2021:3290-1, UBUNTU-CVE-2021-33574.

Is CVE-2021-33574 in your software?

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

Check your SBOMs for free