Uncontrolled Memory Allocation in systemd - CVE-2021-33910

 

Uncontrolled Memory Allocation in systemd - CVE-2021-33910

Published: July 20, 2021 / Updated: July 21, 2021


Vulnerability identifier: #VU55034
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-33910
CWE-ID: CWE-789
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to stack exhaustion within the basic/unit-name.c in systemd. A local user can crash the systemd (PID 1) and cause a kernel panic.


Affected software

systemd
scap-security-guide (Red Hat package)
imgbased (Red Hat package)
cri-o (Red Hat package)
redhat-release-virtualization-host (Red Hat package)
redhat-virtualization-host (Red Hat package)
openshift-kuryr (Red Hat package)
openshift-ansible (Red Hat package)
openshift (Red Hat package)
openshift-clients (Red Hat package)
atomic-openshift-service-idler (Red Hat package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
systemd (Debian package)
fcoe-utils (Red Hat package)
vhostmd (Red Hat package)
systemd-bash-completion
udev-debuginfo
udev
systemd-sysvinit
libsystemd0
libsystemd0-32bit
libsystemd0-debuginfo
libsystemd0-debuginfo-32bit
libudev-devel
libudev1
libudev1-32bit
libudev1-debuginfo
libudev1-debuginfo-32bit
systemd-32bit
systemd-debuginfo
systemd-debuginfo-32bit
systemd-debugsource
systemd-devel
libsystemd0-32bit-debuginfo
libudev1-32bit-debuginfo
systemd-32bit-debuginfo
systemd-container-debuginfo
systemd-coredump
systemd-coredump-debuginfo
systemd-container
systemd (Ubuntu package)
systemd (Red Hat package)
systemd-udev
systemd-tests
systemd-pam
systemd-libs
systemd-journal-remote
systemd-help
systemd-udev-compat
systemd-doc
systemd-journal-remote-debuginfo
systemd-lang
Arch Linux
Gentoo Linux
ClevOS
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Module for Basesystem
Ubuntu
openEuler
Fedora
cflinuxfs3
IBM Cloud Foundry Migration Runtime
Cloud Pak for Security (CP4S)
Red Hat OpenShift Jaeger
Red Hat Virtualization
OpenShift Virtualization
Red Hat Virtualization Host
Web Terminal
SCALANCE LPE9403
Dell EMC VxRail Appliance
Red Hat OpenShift Container Platform
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)

How to mitigate CVE-2021-33910

Install updates from vendor's website.

systemd - addressed in versions 246.15, 247.8, 248.5, 249.1
scap-security-guide (Red Hat package) - update to 0.1.54-2.el8ev
cflinuxfs3 - update to 0.250.0
imgbased (Red Hat package) - update to 1.2.21-1.el8ev
Cloud Pak for Security (CP4S) - update to 1.8.0.0
Red Hat OpenShift Jaeger - addressed in versions 1.20.5, 1.24.0
cri-o (Red Hat package) - addressed in versions 1.20.4-4.rhaos4.7.gitf7276ed.el7, 1.20.4-4.rhaos4.7.gitf7276ed.el8
IBM Cloud Foundry Migration Runtime - update to 4.1.2
redhat-release-virtualization-host (Red Hat package) - update to 4.4.7-3.el8ev
redhat-virtualization-host (Red Hat package) - update to 4.4.7-20210715.1.el8_4
openshift-kuryr (Red Hat package) - update to 4.7.0-202107070256.p0.git.c7654fb.assembly.stream.el8
openshift-ansible (Red Hat package) - update to 4.7.0-202107070256.p0.git.e1b19c2.assembly.stream.el7
openshift (Red Hat package) - addressed in versions 4.7.0-202107132131.p0.git.558d959.assembly.stream.el7, 4.7.0-202107132131.p0.git.558d959.assembly.stream.el8
openshift-clients (Red Hat package) - addressed in versions 4.7.0-202107070256.p0.git.8b4b094.assembly.stream.el7, 4.7.0-202107070256.p0.git.8b4b094.assembly.stream.el8
atomic-openshift-service-idler (Red Hat package) - update to 4.7.0-202107070256.p0.git.39cfc66.assembly.stream.el8
kernel (Red Hat package) - update to 4.18.0-240.23.2.el8_3
kernel-rt (Red Hat package) - update to 4.18.0-240.23.2.rt7.79.el8_3
systemd (Debian package) - update to 241-7~deb10u8
fcoe-utils (Red Hat package) - update to 1.0.33-3.git848bcc6.el8
vhostmd (Red Hat package) - update to 1.1-5.el8
Web Terminal - update to 1.3
SCALANCE LPE9403 - update to 2.0
OpenShift Virtualization - addressed in versions 2.6.6, 4.8.1
Red Hat OpenShift Container Platform - update to 4.7.21
Dell EMC Unity Operating Environment (OE) - update to 5.2.1.0.5.013
Dell EMC Unity VSA Operating Environment (OE) - update to 5.2.1.0.5.013
Dell EMC Unity XT Operating Environment (OE) - update to 5.2.1.0.5.013
Dell EMC VxRail Appliance - update to 7.0.203
systemd-bash-completion - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1
udev-debuginfo - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
udev - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-sysvinit - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libsystemd0 - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libsystemd0-32bit - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libsystemd0-debuginfo - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libsystemd0-debuginfo-32bit - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1
libudev-devel - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libudev1 - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libudev1-32bit - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libudev1-debuginfo - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libudev1-debuginfo-32bit - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1
systemd - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-32bit - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-debuginfo - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-debuginfo-32bit - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1
systemd-debugsource - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-devel - addressed in versions 228-150.98.1, 228-157.30.1, 228-157.33.1, 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libsystemd0-32bit-debuginfo - addressed in versions 234-24.90.1, 234-24.93.1, 246.15-7.11.1
libudev1-32bit-debuginfo - addressed in versions 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-32bit-debuginfo - addressed in versions 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-container-debuginfo - addressed in versions 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-coredump - addressed in versions 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-coredump-debuginfo - addressed in versions 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd-container - addressed in versions 234-24.90.1, 234-24.93.1, 246.15-7.11.1
systemd (Ubuntu package) - addressed in versions 237-3ubuntu10.49, 245.4-4ubuntu3.10, 246.6-1ubuntu1.7, 247.3-3ubuntu3.4, 2294ubuntu21.31+esm1
systemd (Red Hat package) - addressed in versions 239-18.el8_1.8, 239-31.el8_2.4, 239-45.el8_4.2
systemd - addressed in versions 239-31.0.1, 239-51.0.2
systemd-udev - addressed in versions 239-31.0.1, 239-51.0.2
systemd-tests - addressed in versions 239-31.0.1, 239-51.0.2
systemd-pam - addressed in versions 239-31.0.1, 239-51.0.2
systemd-libs - addressed in versions 239-31.0.1, 239-51.0.2
systemd-journal-remote - addressed in versions 239-31.0.1, 239-51.0.2
systemd-devel - addressed in versions 239-31.0.1, 239-51.0.2
systemd-container - addressed in versions 239-31.0.1, 239-51.0.2
systemd-libs - update to 243-37
systemd-help - update to 243-37
systemd-devel - update to 243-37
systemd-container - update to 243-37
systemd-udev - update to 243-37
systemd-udev-compat - update to 243-37
systemd-debuginfo - update to 243-37
systemd-debugsource - update to 243-37
systemd-journal-remote - update to 243-37
systemd - update to 243-37
systemd - addressed in versions 246.15-1.fc33, 248.5-1.fc34
systemd-journal-remote - update to 246.15-7.11.1
systemd-doc - update to 246.15-7.11.1
systemd-journal-remote-debuginfo - update to 246.15-7.11.1
systemd-lang - update to 246.15-7.11.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins