CVEfocus › CVE database › CVE-2021-3997

CVE-2021-3997

CVSS 5.5 MediumEPSS 1.7% (higher than 78% of CVEs)Published 2022-08-23Updated 2026-11-02Assigner: redhat

A flaw was found in systemd. An uncontrolled recursion in systemd-tmpfiles may lead to a denial of service at boot time when too many nested directories are created in /tmp.

CWE-674

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
11Fix pending
10Will not fix
13Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04systemdFixed245.4-4ubuntu3.15UBUNTU-CVE-2021-3997
Ubuntu 18.04systemdFix pendingUBUNTU-CVE-2021-3997
Ubuntu 16.04systemdFix pendingUBUNTU-CVE-2021-3997
Ubuntu 14.04systemdFix pendingUBUNTU-CVE-2021-3997
Debian 14systemdFixed250.2-1DEBIAN-CVE-2021-3997
Debian 13systemdFixed250.2-1DEBIAN-CVE-2021-3997
Debian 12systemdFixed250.2-1DEBIAN-CVE-2021-3997
Red Hat Enterprise Linux 9rhel-net-naming-sysattrsNot affected
Red Hat Enterprise Linux 9systemdNot affected
Red Hat Enterprise Linux 9systemd-boot-unsignedNot affected
Red Hat Enterprise Linux 9systemd-containerNot affected
Red Hat Enterprise Linux 9systemd-develNot affected
Red Hat Enterprise Linux 9systemd-journal-remoteNot affected
Red Hat Enterprise Linux 9systemd-libsNot affected
Red Hat Enterprise Linux 9systemd-oomdNot affected
Red Hat Enterprise Linux 9systemd-pamNot affected
Red Hat Enterprise Linux 9systemd-resolvedNot affected
Red Hat Enterprise Linux 9systemd-rpm-macrosNot affected
Red Hat Enterprise Linux 9systemd-udevNot affected
Red Hat Enterprise Linux 9systemd-ukifyNot affected
Red Hat Enterprise Linux 8systemdFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-containerFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-develFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-journal-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-pamFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8systemd-udevFix pending
Fix deferred
Red Hat Enterprise Linux 7libgudev1Will not fix
Out of support scope
Red Hat Enterprise Linux 7libgudev1-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemdWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-journal-gatewayWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-networkdWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-resolvedWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-sysvWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.