CVE-2021-35942

Summary

CVECVE-2021-35942
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-07-22 18:15:23 UTC
Updated2026-10-14 12:17:13 UTC
DescriptionThe wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param (in posix/wordexp.c) when called with an untrusted, crafted pattern, potentially resulting in a denial of service or disclosure of information. This occurs because atoi was used but strtoul should have been used to ensure correct calculations.

Risk And Classification

Primary CVSS: v3.1 9.1 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Problem Types: CWE-190 | CWE-704 | n/a | CWE-704 CWE-704 Incorrect Type Conversion or Cast


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
3.1ADPDECLARED9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
2.0[email protected]Primary6.4AV:N/AC:L/Au:N/C:P/I:N/A:P

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Application Gnu Glibc All All All All
Application Netapp Active Iq Unified Manager - All All All
Application Netapp E-series Santricity Os Controller All All All All
Application Netapp Hci Management Node - All All All
Application Netapp Ontap Select Deploy Administration Utility - All All All
Application Netapp Solidfire - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
GNU C Library: Multiple Vulnerabilities (GLSA 202208-24) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
Security Exceptions - glibc wiki af854a3a-2127-422b-91ae-364da2661108 sourceware.org Not Applicable
CVE-2021-35942 GNU C Library (glibc) Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
cert-portal.siemens.com/productcert/html/ssa-831302.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
28011 – (CVE-2021-35942) Wild read in wordexp (parse_param) (CVE-2021-35942) af854a3a-2127-422b-91ae-364da2661108 sourceware.org Issue Tracking, Third Party Advisory
[SECURITY] [DLA 3152-1] glibc security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
sourceware.org Git - glibc.git/commit af854a3a-2127-422b-91ae-364da2661108 sourceware.org Broken Link
sourceware.org Git - glibc.git/commit MITRE sourceware.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159493 Oracle Enterprise Linux Security Update for glibc (ELSA-2021-4358)
  • 159561 Oracle Enterprise Linux Security Update for glibc (ELSA-2021-9560)
  • 179862 Debian Security Update for glibc (CVE-2021-35942)
  • 181138 Debian Security Update for glibc (DLA 3152-1)
  • 198685 Ubuntu Security Notification for GNU C Library Vulnerabilities (USN-5310-1)
  • 239791 Red Hat Update for glibc security (RHSA-2021:4358)
  • 281716 Fedora Security Update for glibc (FEDORA-2021-e14e86e40e)
  • 281729 Fedora Security Update for glibc (FEDORA-2021-3f4132bb56)
  • 352840 Amazon Linux Security Advisory for glibc: ALAS2-2021-1703
  • 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
  • 670703 EulerOS Security Update for glibc (EulerOS-SA-2021-2461)
  • 670768 EulerOS Security Update for glibc (EulerOS-SA-2021-2526)
  • 670792 EulerOS Security Update for glibc (EulerOS-SA-2021-2550)
  • 670880 EulerOS Security Update for compat-glibc (EulerOS-SA-2021-2653)
  • 671025 EulerOS Security Update for glibc (EulerOS-SA-2021-2660)
  • 671239 EulerOS Security Update for compat-glibc (EulerOS-SA-2022-1158)
  • 671255 EulerOS Security Update for glibc (EulerOS-SA-2022-1164)
  • 710605 Gentoo Linux GNU C Library Multiple Vulnerabilities (GLSA 202208-24)
  • 750897 SUSE Enterprise Linux Security Update for glibc (SUSE-SU-2021:2480-1)
  • 751196 SUSE Enterprise Linux Security Update for glibc (SUSE-SU-2021:3289-1)
  • 751200 OpenSUSE Security Update for glibc (openSUSE-SU-2021:3291-1)
  • 751212 SUSE Enterprise Linux Security Update for glibc (SUSE-SU-2021:3385-1)
  • 751242 OpenSUSE Security Update for glibc (openSUSE-SU-2021:1374-1)
  • 900060 CBL-Mariner Linux Security Update for glibc 2.28
  • 903139 Common Base Linux Mariner (CBL-Mariner) Security Update for glibc (4820)
  • 940330 AlmaLinux Security Update for glibc (ALSA-2021:4358)
  • 960043 Rocky Linux Security Update for glibc (RLSA-2021:4358)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report