CVE
CVE-2021-35942
| CVE ID |
CVE-2021-35942
|
|---|---|
| CVSS Score |
9.1
|
| Operating System | |
| Affected Versions |
CentOS 7
|
| Patched Versions |
2.17-326_ol002.el7_9.3
|
| Patch Date |
|
| Last Updated Date | |
| Vector String |
Additional Information
NVD Listing: https://nvd.nist.gov/vuln/detail/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.