{"id":"CVE-2021-33910","published":"2021-07-20T18:13:49Z","modified":"2026-10-14T11:44:16Z","title":"basic/unit-name.c in systemd prior to 246.15, 247.8, 248.5, and 249.1 has a Memory Allocation with an Excessive Size…","vendor":null,"product":null,"tier":"tail","description":{"text":"basic/unit-name.c in systemd prior to 246.15, 247.8, 248.5, and 249.1 has a Memory Allocation with an Excessive Size Value (involving strdupa and alloca for a pathname controlled by a local attacker) that results in an operating system crash.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.08864,"percentile":0.95338,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/systemd/systemd/pull/20256/commits/441e0115646d54f080e5c3bb0ba477c892861ab9","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2021/07/20/2","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202107-48","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://www.debian.org/security/2021/dsa-4942","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://packetstormsecurity.com/files/163621/Sequoia-A-Deep-Root-In-Linuxs-Filesystem-Layer.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/systemd/systemd/commit/b34a4f0e6729de292cb3b0c03c1d48f246ad896b","tags":["x_refsource_MISC"]},{"url":"https://github.com/systemd/systemd-stable/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61","tags":["x_refsource_MISC"]},{"url":"https://github.com/systemd/systemd-stable/commit/b00674347337b7531c92fdb65590ab253bb57538","tags":["x_refsource_MISC"]},{"url":"https://github.com/systemd/systemd-stable/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b","tags":["x_refsource_MISC"]},{"url":"https://github.com/systemd/systemd-stable/commit/764b74113e36ac5219a4b82a05f311b5a92136ce","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2LSDMHAKI4LGFOCSPXNVVSEWQFAVFWR7/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42TMJVNYRY65B4QCJICBYOEIVZV3KUYI/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/04/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2021/08/17/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2021/09/07/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.netapp.com/advisory/ntap-20211104-0008/","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-222547.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":27.9,"factors":[{"name":"EPSS percentile","points":19.07},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.85}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-09T15:43:40.608634Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is in basic/unit-name.c in systemd, prior to versions 246.15, 247.8, 248.5, and 249.1, where a memory allocation of excessive size occurs (via strdupa and alloca on a pathname the attacker controls). An attacker with local access and low privileges, requiring no user interaction, can trigger this to crash the operating system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:30:09Z"},"euvd":{"id":"EUVD-2021-20582","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/163621/Sequoia-A-Deep-Root-In-Linuxs-Filesystem-Layer.html"]}