CVE-2021-33910
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…
Check your servers for CVE-2021-33910
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-33910 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 8.86%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 9 Jun 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-33910 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-33910RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-33910Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-33910
trivy image --scanners vuln IMAGE | grep CVE-2021-33910
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- GLSA-202107-48 security.gentoo.org · vendor advisory
- DSA-4942 debian.org · vendor advisory
- FEDORA-2021-2a6ba64260 lists.fedoraproject.org · vendor advisory
- FEDORA-2021-166e461c8d lists.fedoraproject.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20211104-0008/ security.netapp.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf cert-portal.siemens.com
Other references
- https://github.com/systemd/systemd/pull/20256/commits/441e0115646d54f080e5c3bb0ba477c892861ab9 github.com
- https://www.openwall.com/lists/oss-security/2021/07/20/2 openwall.com
- http://packetstormsecurity.com/files/163621/Sequoia-A-Deep-Root-In-Linuxs-Filesystem-Layer.html packetstormsecurity.com
- https://github.com/systemd/systemd/commit/b34a4f0e6729de292cb3b0c03c1d48f246ad896b github.com
- https://github.com/systemd/systemd-stable/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61 github.com
- https://github.com/systemd/systemd-stable/commit/b00674347337b7531c92fdb65590ab253bb57538 github.com
- https://github.com/systemd/systemd-stable/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b github.com
- https://github.com/systemd/systemd-stable/commit/764b74113e36ac5219a4b82a05f311b5a92136ce github.com
- [oss-security] 20210804 Re: Pop!_OS Membership to linux-distros list openwall.com · mailing list
- [oss-security] 20210817 Re: Pop!_OS Membership to linux-distros list openwall.com · mailing list
- [oss-security] 20210907 Re: Pop!_OS Membership to linux-distros list openwall.com · mailing list
- https://cert-portal.siemens.com/productcert/html/ssa-222547.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
Source: the record CVE-2021-33910 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse