---
id: CVE-2021-33910
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 Value (involving strdupa and alloca
  for a pathname controlled by a local attacker) that results in an operating
  system c…
summary: >-
  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 c…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-770
  - CWE-770
vendor: systemd_project
product: systemd
affected:
  - systemd < 246.15
  - 'systemd >= 247, < 247.8'
  - 'systemd >= 248, < 248.5'
  - 'systemd >= 249, < 249.1'
  - fedora = 33
  - fedora = 34
  - debian_linux = 10.0
  - hci_management_node
  - solidfire
patched:
  - systemd 249.1
published: '2021-07-20'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T12:17:12.877'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-33910'
references:
  - url: >-
      http://packetstormsecurity.com/files/163621/Sequoia-A-Deep-Root-In-Linuxs-Filesystem-Layer.html
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2021/08/04/2'
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2021/08/17/3'
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2021/09/07/3'
    label: cve@mitre.org
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf'
    label: cve@mitre.org
  - url: >-
      https://github.com/systemd/systemd-stable/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b
    label: cve@mitre.org
  - url: >-
      https://github.com/systemd/systemd-stable/commit/764b74113e36ac5219a4b82a05f311b5a92136ce
    label: cve@mitre.org
  - url: >-
      https://github.com/systemd/systemd-stable/commit/b00674347337b7531c92fdb65590ab253bb57538
    label: cve@mitre.org
  - url: >-
      https://github.com/systemd/systemd-stable/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61
    label: cve@mitre.org
  - url: >-
      https://github.com/systemd/systemd/commit/b34a4f0e6729de292cb3b0c03c1d48f246ad896b
    label: cve@mitre.org
  - url: >-
      https://github.com/systemd/systemd/pull/20256/commits/441e0115646d54f080e5c3bb0ba477c892861ab9
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2LSDMHAKI4LGFOCSPXNVVSEWQFAVFWR7/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42TMJVNYRY65B4QCJICBYOEIVZV3KUYI/
    label: cve@mitre.org
  - url: 'https://security.gentoo.org/glsa/202107-48'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20211104-0008/'
    label: cve@mitre.org
  - url: 'https://www.debian.org/security/2021/dsa-4942'
    label: cve@mitre.org
  - url: 'https://www.openwall.com/lists/oss-security/2021/07/20/2'
    label: cve@mitre.org
  - url: >-
      http://packetstormsecurity.com/files/163621/Sequoia-A-Deep-Root-In-Linuxs-Filesystem-Layer.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2021/08/04/2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2021/08/17/3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2021/09/07/3'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/systemd/systemd-stable/commit/4a1c5f34bd3e1daed4490e9d97918e504d19733b
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/systemd/systemd-stable/commit/764b74113e36ac5219a4b82a05f311b5a92136ce
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/systemd/systemd-stable/commit/b00674347337b7531c92fdb65590ab253bb57538
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/systemd/systemd-stable/commit/cfd14c65374027b34dbbc4f0551456c5dc2d1f61
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/systemd/systemd/commit/b34a4f0e6729de292cb3b0c03c1d48f246ad896b
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/systemd/systemd/pull/20256/commits/441e0115646d54f080e5c3bb0ba477c892861ab9
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2LSDMHAKI4LGFOCSPXNVVSEWQFAVFWR7/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42TMJVNYRY65B4QCJICBYOEIVZV3KUYI/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202107-48'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20211104-0008/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.debian.org/security/2021/dsa-4942'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.openwall.com/lists/oss-security/2021/07/20/2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-222547.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.08792
epssPercentile: 0.95081
ingestedAt: '2026-10-14T12:29:10.822Z'
---

## Overview

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.

## Affected

- `systemd < 246.15`
- `systemd >= 247, < 247.8`
- `systemd >= 248, < 248.5`
- `systemd >= 249, < 249.1`
- `fedora = 33`
- `fedora = 34`
- `debian_linux = 10.0`
- `hci_management_node`
- `solidfire`

## Remediation

Upgrade past the affected range:

- `systemd 249.1`
