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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
01 May 2025, 18:10
Type | Values Removed | Values Added |
---|---|---|
References | () https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c - Broken Link | |
References | () https://sourceware.org/glibc/wiki/Security%20Exceptions - Not Applicable |
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
- hci_management_node
- solidfire
- e-series_santricity_os_controller
- ontap_select_deploy_administration_utility
- active_iq_unified_manager
gnu
- glibc
debian
- debian_linux
CWE
CWE-190
Integer Overflow or Wraparound