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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

01 May 2025, 18:10

Type Values Removed Values Added
References () https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c - () https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c - Broken Link
References () https://sourceware.org/glibc/wiki/Security%20Exceptions - Vendor Advisory () https://sourceware.org/glibc/wiki/Security%20Exceptions - Not Applicable

21 Nov 2024, 06:12

Type Values Removed Values Added
References () https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html - Mailing List, Third Party Advisory
References () https://security.gentoo.org/glsa/202208-24 - Third Party Advisory () https://security.gentoo.org/glsa/202208-24 - Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20210827-0005/ - Third Party Advisory () https://security.netapp.com/advisory/ntap-20210827-0005/ - Third Party Advisory
References () https://sourceware.org/bugzilla/show_bug.cgi?id=28011 - Issue Tracking, Third Party Advisory () https://sourceware.org/bugzilla/show_bug.cgi?id=28011 - Issue Tracking, Third Party Advisory
References () https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c - () https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c -
References () https://sourceware.org/glibc/wiki/Security%20Exceptions - Vendor Advisory () https://sourceware.org/glibc/wiki/Security%20Exceptions - Vendor Advisory

Information

Published : 2021-07-22 18:15

Updated : 2025-05-01 18:10


NVD link : CVE-2021-35942

Mitre link : CVE-2021-35942

CVE.ORG link : CVE-2021-35942


JSON object : View

Products Affected

netapp

  • solidfire
  • ontap_select_deploy_administration_utility
  • hci_management_node
  • active_iq_unified_manager
  • e-series_santricity_os_controller

debian

  • debian_linux

gnu

  • glibc
CWE
CWE-190

Integer Overflow or Wraparound