CVE-2021-33910 Denial of service in n/a

Medium 5.5 Published Updated

A local attacker can crash the operating system by triggering excessive memory allocation in systemd's unit name parser.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-33910?

CVE-2021-33910 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 20 Jul 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

basic/unit-name.c in systemd prior to 246.15, 247.8, 248.5, and 249.1 has a Memory Allocation with an Excessive Size Value (involving strdupa and alloca for a pathname controlled by a local attacker) that results in an operating system crash.

Weakness: CWE-770

Which versions are affected by CVE-2021-33910?

It affects 5 products.

Linux distribution packages (40)
systemd Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-container Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-container-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-devel Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-journal-remote Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-journal-remote-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-libs Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-libs-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-pam Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-pam-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-tests Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-tests-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-udev Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd-udev-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:239-45.el8_4.2
systemd Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-container Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-container-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-debugsource Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-devel Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-journal-remote Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-journal-remote-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-libs Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-libs-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-pam Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-pam-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-tests Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-tests-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-udev Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd-udev-debuginfo Red Hat:rhel_eus:8.1::baseosAll versions0:239-18.el8_1.8
systemd Red Hat:rhel_eus:8.2::baseosAll versions0:239-31.el8_2.4
systemd-container Red Hat:rhel_eus:8.2::baseosAll versions0:239-31.el8_2.4
systemd-container-debuginfo Red Hat:rhel_eus:8.2::baseosAll versions0:239-31.el8_2.4
systemd-debuginfo Red Hat:rhel_eus:8.2::baseosAll versions0:239-31.el8_2.4
systemd-debugsource Red Hat:rhel_eus:8.2::baseosAll versions0:239-31.el8_2.4
systemd-devel Red Hat:rhel_eus:8.2::baseosAll versions0:239-31.el8_2.4
systemd-journal-remote Red Hat:rhel_eus:8.2::baseosAll versions0:239-31.el8_2.4
systemd-journal-remote-debuginfo Red Hat:rhel_eus:8.2::baseosAll versions0:239-31.el8_2.4

Products include Debian Debian Linux, Fedoraproject Fedora, Netapp Hci Management Node, Netapp Solidfire, Systemd Project Systemd.

How do I fix CVE-2021-33910?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as CLSA-2021-1635459232, DEBIAN-CVE-2021-33910, DLA-2715-1, DSA-4942-1, GHSA-5337-wcgc-wcvp, OESA-2021-1271 and 17 more.

Is CVE-2021-33910 in your software?

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

Check your SBOMs for free