CVE-2021-3997

MEDIUM CVSS 3.1: 5.5 EPSS 1.74%
Updated Oct 14, 2026
Red Hat
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions 240 — 250.2
Fixed In 250.2
Type CWE-674
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 6

Configuration From (including) Up to (excluding)
Systemd_Project Systemd
cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
240 250.2
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —