{"id":"CVE-2021-35942","aliases":["CVE-2021-35942"],"related":[],"kind":"vulnerability","state":"published","title":"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…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-07-22T00:00:00.000Z","modified":"2026-10-14T12:17:13.210Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-190","CWE-704"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.31"}],"vendor":"gnu","product":"glibc","cpe":"cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"active_iq_unified_manager","cpe":"cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"11.0","lastAffected":"11.70.1"}],"vendor":"netapp","product":"e-series_santricity_os_controller","cpe":"cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"hci_management_node","cpe":"cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"ontap_select_deploy_administration_utility","cpe":"cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"solidfire","cpe":"cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://sourceware.org/glibc/wiki/Security%20Exceptions","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28011","tags":["issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0005/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202208-24","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-831302.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-02-13T20:00:35.745Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-35942","url":"https://www.cve.org/CVERecord?id=CVE-2021-35942","licence":"CVE Terms of Use","modified":"2026-10-14T11:48:50.934Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-35942","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35942","licence":"Public domain","modified":"2026-10-14T12:17:13.210Z"}],"updatedAt":"2026-11-25T22:58:02.839Z","epss":{"score":0.02753,"percentile":0.86618,"date":"2026-12-01T12:00:22.000Z"}}