9.1critical
The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parseparam (in posix/wordexp.c) wh…
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 2.75% (higher than 86% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| gnu glibc | before 2.31 | NVD |
| netapp active_iq_unified_manager | Not specified | NVD |
| netapp e-series_santricity_os_controller | from 11.0 up to 11.70.1 | NVD |
| netapp hci_management_node | Not specified | NVD |
| netapp ontap_select_deploy_administration_utility | Not specified | NVD |
| netapp solidfire | Not specified | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
La función wordexp de la biblioteca GNU C (también se conoce como glibc) versiones hasta 2.33, puede bloquearse o leer memoria arbitraria en la función parse_param (en el archivo posix/wordexp.c) cuando se llama con un patrón diseñado que no es confiable, resultando en una denegación de servicio o divulgación de información. Esto ocurre porque atoi fue usado pero debería haber sido usado strtoul para asegurar cálculos correctos
References
| https://sourceware.org/glibc/wiki/Security%20Exceptions | not-applicable | |
| https://sourceware.org/bugzilla/show_bug.cgi?id=28011 | issue-tracking, third-party-advisory | |
| https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c | broken-link | |
| https://security.netapp.com/advisory/ntap-20210827-0005/ | third-party-advisory | |
| https://security.gentoo.org/glsa/202208-24 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html | mailing-list, third-party-advisory | |
| https://cert-portal.siemens.com/productcert/html/ssa-831302.html | ||
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-35942 changed 2026-10-14 | CVE Terms of Use |
| NVD | CVE-2021-35942 changed 2026-10-14 | Public domain |