CVE-2021-3802 Denial of service in udisks2

Medium 4.2 Published Updated

An attacker can cause a kernel panic and system crash by providing a specially crafted image file or USB device to udisks2.

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

What is CVE-2021-3802?

CVE-2021-3802 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 29 Nov 2021. 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

A vulnerability found in udisks2. This flaw allows an attacker to input a specially crafted image file/USB leading to kernel panic. The highest threat from this vulnerability is to system availability.

Weakness: CWE-20

Which versions are affected by CVE-2021-3802?

It affects 3 products.

Linux distribution packages (38)
libudisks2 AlmaLinux:8All versions2.9.0-9.el8
libudisks2-devel AlmaLinux:8All versions2.9.0-9.el8
udisks2 AlmaLinux:8All versions2.9.0-9.el8
udisks2-iscsi AlmaLinux:8All versions2.9.0-9.el8
udisks2-lsm AlmaLinux:8All versions2.9.0-9.el8
udisks2-lvm2 AlmaLinux:8All versions2.9.0-9.el8
libudisks2 Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
libudisks2-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2 Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2-iscsi Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2-iscsi-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2-lsm Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2-lsm-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2-lvm2 Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
udisks2-lvm2-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.9.0-9.el8
libudisks2-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.9.0-9.el8
libudisks2-devel Red Hat:enterprise_linux:8::crbAll versions0:2.9.0-9.el8
udisks2-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.9.0-9.el8
udisks2-debugsource Red Hat:enterprise_linux:8::crbAll versions0:2.9.0-9.el8
udisks2-iscsi-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.9.0-9.el8
udisks2-lsm-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.9.0-9.el8
udisks2-lvm2-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.9.0-9.el8
udisks2 Rocky Linux:8All versions0:2.9.0-9.el8
udisks2 SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions2.8.1-150200.3.3.1
udisks2 SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions2.9.2-150400.3.3.1
udisks2 SUSE:Linux Enterprise Server 12 SP2-BCLAll versions2.1.3-3.8.1
udisks2 SUSE:Linux Enterprise Server 12 SP3-BCLAll versions2.1.3-3.8.1
udisks2 SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2.1.3-3.8.1
udisks2 SUSE:Linux Enterprise Server 12 SP5All versions2.1.3-3.8.1
udisks2 SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions2.1.3-3.8.1
udisks2 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2.1.3-3.8.1
udisks2 SUSE:Linux Enterprise Software Development Kit 12 SP5All versions2.1.3-3.8.1
udisks2 SUSE:OpenStack Cloud 9All versions2.1.3-3.8.1
udisks2 SUSE:OpenStack Cloud Crowbar 9All versions2.1.3-3.8.1
udisks2 openSUSE:Leap 15.3All versions2.8.1-150200.3.3.1
udisks2 openSUSE:Leap 15.4All versions2.9.2-150400.3.3.1

Products include Fedoraproject Fedora, Redhat Enterprise Linux, Udisks Project Udisks.

How do I fix CVE-2021-3802?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-3802 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2022:1820, AZL-78300, DEBIAN-CVE-2021-3802, DLA-2809-1, DLA-3387-1, GHSA-p3gq-xgj7-pfr7 and 8 more.

Is CVE-2021-3802 in your software?

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

Check your SBOMs for free