CVE-2021-3997: A flaw was found in systemd
CVE-2021-3997 is a medium-severity flaw (CVSS 5.5) affecting systemd, fedora, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 22%) |
| CISA exploited list | No |
| Weakness | CWE-674 |
| Published | 2022-08-23 |
| Last modified | 2026-11-02 |
Last updated 2026-11-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-3997?
systemd: upgrade to 250.2; fedora: mitigate or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-3997 being exploited?
CVE-2021-3997 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-3997 affect?
CVE-2021-3997 affects systemd, fedora, enterprise linux. Severity is medium (CVSS 5.5). 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.
How urgent is CVE-2021-3997?
Priority 49/100. Public exploit reference; On your watchlist
Related CVEs
- CVE-2023-7008 MEDIUM 5.9 MITIGATE A vulnerability was found in systemd-resolved
- CVE-2023-26604 HIGH 7.8 MITIGATE UPGRADE systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., pl
- CVE-2022-45873 MEDIUM 5.5 UPGRADE MITIGATE systemd 250 and 251 allows local users to achieve a systemd-coredump deadlock by triggering a crash that has a
- CVE-2022-3821 MEDIUM 5.5 UPGRADE MITIGATE An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c
- CVE-2021-33910 MEDIUM 5.5 UPGRADE MITIGATE basic/unit-name.c in systemd prior to 246.15, 247.8, 248.5, and 249.1 has a Memory Allocation with an Excessiv