cve.bz

CVE-2021-33910

5.5 mediumExploit referenceEPSS 8.8%Fix available

Medium (5.5). EPSS 8.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
8.8% (unchanged from 8.8% a week ago; 8.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-33910 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-33910?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-33910?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-33910 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-33910

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-33910](https://cve.bz/cve/badge/CVE-2021-33910.svg)](https://cve.bz/cve/CVE-2021-33910)

HTML:

<a href="https://cve.bz/cve/CVE-2021-33910"><img src="https://cve.bz/cve/badge/CVE-2021-33910.svg" alt="CVE-2021-33910"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
systemd_project:systemdbefore 246.15
systemd_project:systemdfrom 247 before 247.8
systemd_project:systemdfrom 248 before 248.5
systemd_project:systemdfrom 249 before 249.1
fedoraproject:fedora33
fedoraproject:fedora34
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9systemd232-25+deb9u13DLA-2715-1
Debian10systemd241-7~deb10u8DSA-4942-1
Debian12, 13, 14systemd247.3-6DEBIAN-CVE-2021-33910
Ubuntu18.04:LTSsystemd237-3ubuntu10.49UBUNTU-CVE-2021-33910 USN-5013-1
Ubuntu20.04:LTSsystemd245.4-4ubuntu3.10UBUNTU-CVE-2021-33910 USN-5013-1
UbuntuPro:16.04:LTSsystemd229-4ubuntu21.31+esm1UBUNTU-CVE-2021-33910 USN-5013-2
Red Hatenterprise_linux:8::baseossystemd, systemd-pam, systemd-libs and 13 more0:239-45.el8_4.2RHSA-2021:2717
Red Hatrhel_eus:8.1::baseossystemd, systemd-pam, systemd-libs and 13 more0:239-18.el8_1.8RHSA-2021:2724
Red Hatrhel_eus:8.2::baseossystemd, systemd-pam, systemd-libs and 13 more0:239-31.el8_2.4RHSA-2021:2721
Red Hatrhev_hypervisor:4.4::el8redhat-virtualization-host, redhat-virtualization-host-image-update0:4.4.7-20210715.1.el8_4RHSA-2021:2736
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 8 moresystemd228-150.98.1SUSE-SU-2021:2423-1
SUSELinux Enterprise Module for Basesystem 15 SP2systemd234-24.90.1SUSE-SU-2021:2404-1
SUSELinux Enterprise Module for Basesystem 15 SP2systemd234-24.93.1SUSE-SU-2021:3348-1
SUSELinux Enterprise Module for Basesystem 15 SP3systemd246.13-7.8.1SUSE-SU-2021:2410-1
SUSELinux Enterprise Module for Basesystem 15 SP3systemd246.15-7.11.1SUSE-SU-2021:2809-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5systemd228-157.30.1SUSE-SU-2021:2405-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5systemd228-157.33.1SUSE-SU-2021:3611-1
openSUSELeap 15.2systemd, systemd-mini234-lp152.31.31.1openSUSE-SU-2021:1082-1
openSUSELeap 15.2systemd, systemd-mini234-lp152.31.34.1openSUSE-SU-2021:1370-1
openSUSELeap 15.3systemd234-24.90.1openSUSE-SU-2021:2404-1
openSUSELeap 15.3systemd234-24.93.1openSUSE-SU-2021:3348-1
openSUSELeap 15.3systemd246.13-7.8.1openSUSE-SU-2021:2410-1
openSUSELeap 15.3systemd246.15-7.11.1openSUSE-SU-2021:2809-1
openSUSETumbleweedsystemd249.4-2.2openSUSE-SU-2024:11420-1
Rocky Linux8systemd0:239-45.el8_4.2RLSA-2021:2717

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue did not affect the versions of systemd as shipped with Red Hat Enterprise Linux 7 as they did not use strdupa to duplicate strings in unit_name_path_escape function, but strdup, which allocates space on the heap.

Further, any Red Hat product which is supported on the Red Hat Enterprise Linux platform is also potentially impacted. This includes:

* Product containers which are based on the RHEL or UBI container images. These images are updated regularly, and container health indicating whether a fix to this flaw is available can be seen in the Container Health Index, part of the Red Hat Container Catalog (https://access.redhat.com/containers). In addition, any customer containers should be manually rebuilt when the base images are updated.

* Products which pull packages from the RHEL channel. Please ensure that the underlying Red Hat Enterprise Linux systemd package is current in these product environments.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8systemd-0:239-45.el8_4.2Fixed 2021-07-21RHSA-2021:2717
Red Hat Enterprise Linux 8.1 Extended Update Supportsystemd-0:239-18.el8_1.8Fixed 2021-07-20RHSA-2021:2724
Red Hat Enterprise Linux 8.2 Extended Update Supportsystemd-0:239-31.el8_2.4Fixed 2021-07-20RHSA-2021:2721
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.4.7-20210715.1.el8_4Fixed 2021-07-22RHSA-2021:2736
Red Hat Enterprise Linux 7systemdNot affected
Red Hat Enterprise Linux 9systemdNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-33910.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-22-167-09Siemens SCALANCE LPE9403 Third-Party Vulnerabilities2022-06-14MultipleSCALANCE LPE9403none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON