CVE-2021-35942
The 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.
- Score
- CVSS 3.1 9.1 Critical
- Status
- Modified - cve@mitre.org
- Published
- 2021-07-22
- Last modified
- 2026-10-14
- Weaknesses
- CWE-190, CWE-704
Affected products
- Debian Linux (Debian)
- Glibc (Gnu)
- Active Iq Unified Manager (Netapp)
- E-series Santricity Os Controller (Netapp)
- Hci Management Node (Netapp)
- Ontap Select Deploy Administration Utility (Netapp)
- Solidfire (Netapp)
- Simatic S7-1500 Cpu 1518-4 Pndp Mfp (Siemens)
- Simatic S7-1500 Cpu 1518f-4 Pndp Mfp (Siemens)
- Siplus S7-1500 Cpu 1518-4 Pndp Mfp (Siemens)
References
- https://sourceware.org/glibc/wiki/Security%20Exceptions
- https://sourceware.org/bugzilla/show_bug.cgi?id=28011
- https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c
- https://security.netapp.com/advisory/ntap-20210827-0005/
- https://security.gentoo.org/glsa/202208-24
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html