Vulnerability Details : CVE-2021-3997
Potential exploit
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.
Vulnerability category: Denial of service
Products affected by CVE-2021-3997
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3997
0.02%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 2 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3997
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-3997
-
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2021-3997
-
https://security.gentoo.org/glsa/202305-15
systemd: Multiple Vulnerabilities (GLSA 202305-15) — Gentoo security
-
https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1
shared/rm-rf: loop over nested directories instead of instead of recu… · systemd/systemd@5b1cf7a · GitHubPatch;Third Party Advisory
-
https://www.openwall.com/lists/oss-security/2022/01/10/2
oss-security - CVE-2021-3997: Uncontrolled recursion in systemd's systemd-tmpfilesExploit;Mailing List;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=2024639
2024639 – (CVE-2021-3997) CVE-2021-3997 systemd: Uncontrolled recursion in systemd-tmpfiles when removing filesIssue Tracking;Patch;Third Party Advisory
-
https://access.redhat.com/security/cve/CVE-2021-3997
CVE-2021-3997- Red Hat Customer PortalIssue Tracking;Third Party Advisory
Jump to