{"id":"CVE-2021-3997","state":"PUBLISHED","title":"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.","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.","publishedAt":"2022-08-23T00:00:00.000Z","updatedAt":"2026-10-14T09:49:55.103Z","severity":null,"assigner":"redhat","products":["n/a systemd"],"affected":[{"vendor":"n/a","product":"systemd","versions":[{"version":"Fixed in v251-rc1","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2024639","https://www.openwall.com/lists/oss-security/2022/01/10/2","https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1","https://access.redhat.com/security/cve/CVE-2021-3997","https://security.gentoo.org/glsa/202305-15","https://cert-portal.siemens.com/productcert/html/ssa-398330.html"],"weaknesses":["CWE-674"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3997.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-3997","state":"PUBLISHED","datePublished":"2022-08-23T00:00:00.000Z","dateUpdated":"2026-10-14T09:49:55.103Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-11-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"systemd","versions":[{"version":"Fixed in v251-rc1","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024639"},{"url":"https://www.openwall.com/lists/oss-security/2022/01/10/2"},{"url":"https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1"},{"url":"https://access.redhat.com/security/cve/CVE-2021-3997"},{"url":"https://security.gentoo.org/glsa/202305-15","name":"GLSA-202305-15","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","type":"CWE","lang":"en","description":"CWE-674 - Uncontrolled Recursion"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2023-05-03T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024639","tags":["x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2022/01/10/2","tags":["x_transferred"]},{"url":"https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1","tags":["x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3997","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202305-15","name":"GLSA-202305-15","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:16:02.914Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T09:49:55.103Z"},"x_adpType":"supplier"}]}}}