CVE-2021-3997
MEDIUM
Published Aug 23, 20223y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Published Aug 23, 2022 3y ago
Last Modified Jun 17, 2026 2w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-674
Affected Products 6
| Vendor | Product | Version | Range |
|---|---|---|---|
| systemd_project | systemd | * | ≥240 – <250.2 |
| fedoraproject | fedora | 34 | any |
| fedoraproject | fedora | 35 | any |
| redhat | enterprise_linux | 7.0 | any |
| redhat | enterprise_linux | 8.0 | any |
| redhat | enterprise_linux | 9.0 | any |
References 5
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-3997
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2024639
- github.com https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1
- security.gentoo.org https://security.gentoo.org/glsa/202305-15
- openwall.com https://www.openwall.com/lists/oss-security/2022/01/10/2
Remediation
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2024639
- github.com https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1