{"id":"CVE-2021-33910","details":"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.","modified":"2026-08-18T13:50:09.138142Z","published":"2021-07-20T19:15:09.783Z","related":["SUSE-SU-2021:2404-1","SUSE-SU-2021:2405-1","SUSE-SU-2021:2410-1","SUSE-SU-2021:2423-1","SUSE-SU-2021:2809-1","SUSE-SU-2021:3348-1","SUSE-SU-2021:3611-1","openSUSE-SU-2021:1082-1","openSUSE-SU-2021:1370-1","openSUSE-SU-2021:2404-1","openSUSE-SU-2021:2410-1","openSUSE-SU-2021:2809-1","openSUSE-SU-2021:3348-1","openSUSE-SU-2024:11420-1","openSUSE-SU-2024:11679-1"],"database_specific":{"unresolved_ranges":[{"vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"10.0"},{"last_affected":"10.0"}],"source":"CPE_STRING"},{"cpes":["cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"33"},{"last_affected":"33"},{"introduced":"34"},{"last_affected":"34"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"}]},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2LSDMHAKI4LGFOCSPXNVVSEWQFAVFWR7/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42TMJVNYRY65B4QCJICBYOEIVZV3KUYI/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-48"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20211104-0008/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4942"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2021/08/04/2"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2021/08/17/3"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2021/09/07/3"},{"type":"FIX","url":"https://github.com/systemd/systemd-stable/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b"},{"type":"FIX","url":"https://github.com/systemd/systemd-stable/commit/764b74113e36ac5219a4b82a05f311b5a92136ce"},{"type":"FIX","url":"https://github.com/systemd/systemd-stable/commit/b00674347337b7531c92fdb65590ab253bb57538"},{"type":"FIX","url":"https://github.com/systemd/systemd-stable/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61"},{"type":"FIX","url":"https://github.com/systemd/systemd/commit/b34a4f0e6729de292cb3b0c03c1d48f246ad896b"},{"type":"FIX","url":"https://github.com/systemd/systemd/pull/20256/commits/441e0115646d54f080e5c3bb0ba477c892861ab9"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/163621/Sequoia-A-Deep-Root-In-Linuxs-Filesystem-Layer.html"},{"type":"EVIDENCE","url":"https://www.openwall.com/lists/oss-security/2021/07/20/2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/systemd/systemd","events":[{"introduced":"0"},{"fixed":"cfd14c65374027b34dbbc4f0551456c5dc2d1f61"},{"introduced":"4d484e14bb9864cef1d124885e625f33bf31e91c"},{"fixed":"b00674347337b7531c92fdb65590ab253bb57538"},{"introduced":"938bdfc0fa737d86eb3ecc70506e11e5f740e0dc"},{"fixed":"4a1c5f34bd3e1daed4490e9d97918e504d19733b"},{"introduced":"f6278558da0304ec6b646bb172ce4688c7f162a5"},{"fixed":"764b74113e36ac5219a4b82a05f311b5a92136ce"},{"fixed":"b34a4f0e6729de292cb3b0c03c1d48f246ad896b"}],"database_specific":{"cpe":"cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"246.15"},{"introduced":"247"},{"fixed":"247.8"},{"introduced":"248"},{"fixed":"248.5"},{"introduced":"249"},{"fixed":"249.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v246.14","v247.7","v248.4","v249","v248.3","v248.2","v248.1","v247.6","v248-2","v248","v246.13","v246.12","v247.5","v246.11","v247.4","v246.10","v247.3","v246.9","v247.2","v246.8","v246.7","v247.1","v247","v246.6","v246.5","v246.4","v246.3","v246.2","v246.1","v246","v246-rc2","v246-rc1","v245","v245-rc2","v245-rc1","v244","v244-rc1","v243","v243-rc2","v243-rc1","v242","v242-rc4","v242-rc3","v242-rc2","v242-rc1","v241","v241-rc2","v241-rc1","v240","v239","v238","v237","v236","v235","v234","v233","v232","v231","v230","v229","v228","v227","v226","v225","v224","v223","v222","v221","v219","v220","v218","v217","v216","v215","v214","v213","v212","v211","v210","v209","v208","v207","v206","v205","v204","v203","v202","v201","v200","v199","v198","v197","v196","v195","v194","v193","v192","v191","v190","v189","v188","v187","v186","v185","v184","v183","v44","v43","v42","v41","v40","v39","v38","v37","v36","v35","v34","v33","v32","v31","v30","v29","v28","v27","v26","v25","v24","v23","v22","v21","v20","v19","v18","v17","v16","v15","v14","v13","v12","v11","v10","v9","v8","v7","v6","v5","v4","v3","v2","v1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33910.json","vanir_signatures_modified":"2026-08-18T13:50:09Z","vanir_signatures":[{"id":"CVE-2021-33910-42a41d34","signature_type":"Function","signature_version":"v1","source":"https://github.com/systemd/systemd/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b","target":{"file":"src/basic/unit-name.c","function":"unit_name_path_escape"},"deprecated":false,"digest":{"length":450,"function_hash":"238363963586981283236621004435380510899"}},{"digest":{"line_hashes":["295455408269373134352364312047732468871","43586261161881030143337695540596514679","193731805681192560656540138140781207439","234345089565047727780801491425519835287","324375921830458711877362487278178510930","143913382226387268656648571449825118976","249353666783312831483115544398788369827","75084033152122151109689042536574316692","5644314769794058700180533724555806106","65128882235487803307668213270905731123","183803556583342230414319689882972533709","300206888555267011948129887929833603859","234953466923105676125704202346521834640"],"threshold":0.9},"id":"CVE-2021-33910-52acdd1c","signature_type":"Line","signature_version":"v1","source":"https://github.com/systemd/systemd/commit/764b74113e36ac5219a4b82a05f311b5a92136ce","target":{"file":"src/basic/unit-name.c"},"deprecated":false},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/systemd/systemd/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61","target":{"file":"src/basic/unit-name.c","function":"unit_name_path_escape"},"deprecated":false,"digest":{"function_hash":"238363963586981283236621004435380510899","length":450},"id":"CVE-2021-33910-7da17968"},{"deprecated":false,"digest":{"function_hash":"238363963586981283236621004435380510899","length":450},"id":"CVE-2021-33910-930a94be","signature_type":"Function","signature_version":"v1","source":"https://github.com/systemd/systemd/commit/b00674347337b7531c92fdb65590ab253bb57538","target":{"file":"src/basic/unit-name.c","function":"unit_name_path_escape"}},{"deprecated":false,"digest":{"line_hashes":["295455408269373134352364312047732468871","43586261161881030143337695540596514679","193731805681192560656540138140781207439","234345089565047727780801491425519835287","324375921830458711877362487278178510930","143913382226387268656648571449825118976","301897454620019740996020042001306739526","75084033152122151109689042536574316692","5644314769794058700180533724555806106","65128882235487803307668213270905731123","183803556583342230414319689882972533709","300206888555267011948129887929833603859","234953466923105676125704202346521834640"],"threshold":0.9},"id":"CVE-2021-33910-bca8eed5","signature_type":"Line","signature_version":"v1","source":"https://github.com/systemd/systemd/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61","target":{"file":"src/basic/unit-name.c"}},{"deprecated":false,"digest":{"function_hash":"13991766979645080629156966034899221242","length":442},"id":"CVE-2021-33910-c6082333","signature_type":"Function","signature_version":"v1","source":"https://github.com/systemd/systemd/commit/764b74113e36ac5219a4b82a05f311b5a92136ce","target":{"file":"src/basic/unit-name.c","function":"unit_name_path_escape"}},{"digest":{"line_hashes":["295455408269373134352364312047732468871","43586261161881030143337695540596514679","193731805681192560656540138140781207439","234345089565047727780801491425519835287","324375921830458711877362487278178510930","143913382226387268656648571449825118976","301897454620019740996020042001306739526","75084033152122151109689042536574316692","5644314769794058700180533724555806106","65128882235487803307668213270905731123","183803556583342230414319689882972533709","300206888555267011948129887929833603859","234953466923105676125704202346521834640"],"threshold":0.9},"id":"CVE-2021-33910-db0877b8","signature_type":"Line","signature_version":"v1","source":"https://github.com/systemd/systemd/commit/b00674347337b7531c92fdb65590ab253bb57538","target":{"file":"src/basic/unit-name.c"},"deprecated":false},{"digest":{"line_hashes":["295455408269373134352364312047732468871","43586261161881030143337695540596514679","193731805681192560656540138140781207439","234345089565047727780801491425519835287","324375921830458711877362487278178510930","143913382226387268656648571449825118976","301897454620019740996020042001306739526","75084033152122151109689042536574316692","5644314769794058700180533724555806106","65128882235487803307668213270905731123","183803556583342230414319689882972533709","300206888555267011948129887929833603859","234953466923105676125704202346521834640"],"threshold":0.9},"id":"CVE-2021-33910-fc0ade4b","signature_type":"Line","signature_version":"v1","source":"https://github.com/systemd/systemd/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b","target":{"file":"src/basic/unit-name.c"},"deprecated":false}]}},{"ranges":[{"type":"GIT","repo":"https://github.com/systemd/systemd-stable","events":[{"introduced":"0"},{"fixed":"cfd14c65374027b34dbbc4f0551456c5dc2d1f61"},{"introduced":"4d484e14bb9864cef1d124885e625f33bf31e91c"},{"fixed":"b00674347337b7531c92fdb65590ab253bb57538"},{"introduced":"938bdfc0fa737d86eb3ecc70506e11e5f740e0dc"},{"fixed":"4a1c5f34bd3e1daed4490e9d97918e504d19733b"},{"introduced":"f6278558da0304ec6b646bb172ce4688c7f162a5"},{"fixed":"764b74113e36ac5219a4b82a05f311b5a92136ce"}],"database_specific":{"cpe":"cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"246.15"},{"introduced":"247"},{"fixed":"247.8"},{"introduced":"248"},{"fixed":"248.5"},{"introduced":"249"},{"fixed":"249.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v246.14","v247.7","v248.4","v249","v248.3","v248.2","v248.1","v247.6","v248-2","v248","v246.13","v246.12","v247.5","v246.11","v247.4","v246.10","v247.3","v246.9","v247.2","v246.8","v246.7","v247.1","v247","v246.6","v246.5","v246.4","v246.3","v246.2","v246.1","v246","v246-rc2","v246-rc1","v245","v245-rc2","v245-rc1","v244","v244-rc1","v243","v243-rc2","v243-rc1","v242","v242-rc4","v242-rc3","v242-rc2","v242-rc1","v241","v241-rc2","v241-rc1","v240","v239","v238","v237","v236","v235","v234","v233","v232","v231","v230","v229","v228","v227","v226","v225","v224","v223","v222","v221","v219","v220","v218","v217","v216","v215","v214","v213","v212","v211","v210","v208","v209","v201","v204","v207","v206","v205","v203","v202","v200","v199","v198","v197","v196","systemd-v196","v195","systemd-v195","v194","systemd-v194","v193","systemd-v193","v192","systemd-v192","v191","systemd-v191","v190","systemd-v190","v189","systemd-v189","v188","systemd-v188","v187","systemd-v187","v186","systemd-v186","v185","systemd-v185","v184","systemd-v184","v183","systemd-v183","v44","systemd-v44","v43","systemd-v43","v42","systemd-v42","v41","systemd-v41","v40","systemd-v40","v39","systemd-v39","v38","systemd-v38","v37","systemd-v37","v36","systemd-v36","v35","systemd-v35","v34","systemd-v34","v33","systemd-v33","v32","systemd-v32","v31","systemd-v31","v30","systemd-v30","v29","systemd-v29","v28","systemd-v28","v27","systemd-v27","v26","systemd-v26","v25","systemd-v25","v24","systemd-v24","v23","systemd-v23","v22","systemd-v22","v21","systemd-v21","v20","systemd-v20","v19","systemd-v19","v18","systemd-v18","v17","systemd-v17","v16","systemd-v16","v15","systemd-v15","v14","systemd-v14","v13","systemd-v13","v12","systemd-v12","v11","systemd-v11","v10","systemd-v10","v9","systemd-v9","v8","systemd-v8","v7","systemd-v7","v6","systemd-v6","v5","systemd-v5","v4","systemd-v4","v3","systemd-v3","v2","systemd-v2","v1","systemd-v1"],"database_specific":{"vanir_signatures_modified":"2026-08-18T13:50:09Z","vanir_signatures":[{"id":"CVE-2021-33910-1c3f15f3","signature_type":"Line","signature_version":"v1","source":"https://github.com/systemd/systemd-stable/commit/764b74113e36ac5219a4b82a05f311b5a92136ce","target":{"file":"src/basic/unit-name.c"},"deprecated":false,"digest":{"line_hashes":["295455408269373134352364312047732468871","43586261161881030143337695540596514679","193731805681192560656540138140781207439","234345089565047727780801491425519835287","324375921830458711877362487278178510930","143913382226387268656648571449825118976","249353666783312831483115544398788369827","75084033152122151109689042536574316692","5644314769794058700180533724555806106","65128882235487803307668213270905731123","183803556583342230414319689882972533709","300206888555267011948129887929833603859","234953466923105676125704202346521834640"],"threshold":0.9}},{"deprecated":false,"digest":{"function_hash":"238363963586981283236621004435380510899","length":450},"id":"CVE-2021-33910-1e3e1f7c","signature_type":"Function","signature_version":"v1","source":"https://github.com/systemd/systemd-stable/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b","target":{"file":"src/basic/unit-name.c","function":"unit_name_path_escape"}},{"signature_version":"v1","source":"https://github.com/systemd/systemd-stable/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b","target":{"file":"src/basic/unit-name.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["295455408269373134352364312047732468871","43586261161881030143337695540596514679","193731805681192560656540138140781207439","234345089565047727780801491425519835287","324375921830458711877362487278178510930","143913382226387268656648571449825118976","301897454620019740996020042001306739526","75084033152122151109689042536574316692","5644314769794058700180533724555806106","65128882235487803307668213270905731123","183803556583342230414319689882972533709","300206888555267011948129887929833603859","234953466923105676125704202346521834640"]},"id":"CVE-2021-33910-21c0842c","signature_type":"Line"},{"source":"https://github.com/systemd/systemd-stable/commit/b00674347337b7531c92fdb65590ab253bb57538","target":{"file":"src/basic/unit-name.c","function":"unit_name_path_escape"},"deprecated":false,"digest":{"function_hash":"238363963586981283236621004435380510899","length":450},"id":"CVE-2021-33910-4a17b63f","signature_type":"Function","signature_version":"v1"},{"source":"https://github.com/systemd/systemd-stable/commit/b00674347337b7531c92fdb65590ab253bb57538","target":{"file":"src/basic/unit-name.c"},"deprecated":false,"digest":{"line_hashes":["295455408269373134352364312047732468871","43586261161881030143337695540596514679","193731805681192560656540138140781207439","234345089565047727780801491425519835287","324375921830458711877362487278178510930","143913382226387268656648571449825118976","301897454620019740996020042001306739526","75084033152122151109689042536574316692","5644314769794058700180533724555806106","65128882235487803307668213270905731123","183803556583342230414319689882972533709","300206888555267011948129887929833603859","234953466923105676125704202346521834640"],"threshold":0.9},"id":"CVE-2021-33910-971cdb97","signature_type":"Line","signature_version":"v1"},{"source":"https://github.com/systemd/systemd-stable/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61","target":{"file":"src/basic/unit-name.c"},"deprecated":false,"digest":{"line_hashes":["295455408269373134352364312047732468871","43586261161881030143337695540596514679","193731805681192560656540138140781207439","234345089565047727780801491425519835287","324375921830458711877362487278178510930","143913382226387268656648571449825118976","301897454620019740996020042001306739526","75084033152122151109689042536574316692","5644314769794058700180533724555806106","65128882235487803307668213270905731123","183803556583342230414319689882972533709","300206888555267011948129887929833603859","234953466923105676125704202346521834640"],"threshold":0.9},"id":"CVE-2021-33910-a5efb150","signature_type":"Line","signature_version":"v1"},{"deprecated":false,"digest":{"function_hash":"13991766979645080629156966034899221242","length":442},"id":"CVE-2021-33910-fe84b142","signature_type":"Function","signature_version":"v1","source":"https://github.com/systemd/systemd-stable/commit/764b74113e36ac5219a4b82a05f311b5a92136ce","target":{"file":"src/basic/unit-name.c","function":"unit_name_path_escape"}},{"id":"CVE-2021-33910-ff8fa881","signature_type":"Function","signature_version":"v1","source":"https://github.com/systemd/systemd-stable/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61","target":{"file":"src/basic/unit-name.c","function":"unit_name_path_escape"},"deprecated":false,"digest":{"function_hash":"238363963586981283236621004435380510899","length":450}}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33910.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}