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
Link | Resource |
---|---|
https://sourceware.org/bugzilla/show_bug.cgi?id=28011 | Issue Tracking Third Party Advisory |
https://sourceware.org/git/?p=glibc.git;a=commit;h=5adda61f62b77384718b4c0d8336ade8f2b4b35c | Mailing List Patch Third Party Advisory |
https://sourceware.org/glibc/wiki/Security%20Exceptions | Vendor Advisory |
https://security.netapp.com/advisory/ntap-20210827-0005/ | Third Party Advisory |
https://security.gentoo.org/glsa/202208-24 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html | Mailing List Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2021-07-22 11:15
Updated : 2022-11-08 05:29
NVD link : CVE-2021-35942
Mitre link : CVE-2021-35942
JSON object : View
CWE
CWE-190
Integer Overflow or Wraparound
Products Affected
netapp
- active_iq_unified_manager
- solidfire
- hci_management_node
- ontap_select_deploy_administration_utility
- e-series_santricity_os_controller
gnu
- glibc
debian
- debian_linux