CVE-2021-3997

MEDIUM
Published Aug 23, 20223y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Medium
Find Similar
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
5.5
Exploitability
1.8
Impact
3.6
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

VendorProductVersionRange
systemd_projectsystemd*≥240  –  <250.2
fedoraprojectfedora34any
fedoraprojectfedora35any
redhatenterprise_linux7.0any
redhatenterprise_linux8.0any
redhatenterprise_linux9.0any

References 5

  • access.redhat.com https://access.redhat.com/security/cve/CVE-2021-3997
    Issue TrackingThird Party Advisory
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2024639
    Issue TrackingPatchThird Party Advisory
  • github.com https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1
    PatchThird Party Advisory
  • security.gentoo.org https://security.gentoo.org/glsa/202305-15
  • openwall.com https://www.openwall.com/lists/oss-security/2022/01/10/2
    ExploitMailing ListThird Party Advisory

Remediation

  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2024639
    Issue TrackingPatchThird Party Advisory
  • github.com https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1
    PatchThird Party Advisory