CVE-2021-35942
Last modified
CVE-2021-35942 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.. EPSS estimates a 2.68% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Glibc | < 2.31 |
| Netapp | Active Iq Unified Manager | All versions |
| Netapp | E-Series Santricity Os Controller | >= 11.0, <= 11.70.1 |
| Netapp | Hci Management Node | All versions |
| Netapp | Ontap Select Deploy Administration Utility | All versions |
| Netapp | Solidfire | All versions |
| Debian | Debian Linux | 10.0 |
References
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202208-24Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210827-0005/Third Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=28011Issue Tracking, Third Party Advisory
- https://sourceware.org/glibc/wiki/Security%20ExceptionsNot Applicable
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202208-24Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210827-0005/Third Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=28011Issue Tracking, Third Party Advisory
- https://sourceware.org/glibc/wiki/Security%20ExceptionsNot Applicable
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-35942?
How severe is CVE-2021-35942?
How do I fix CVE-2021-35942?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-35937A race condition vulnerability was found in rpm. A local unp…6.4
- CVE-2021-35938A symbolic link issue was found in rpm. It occurs when rpm s…6.7
- CVE-2021-35939It was found that the fix for CVE-2017-7500 and CVE-2017-750…6.7
- CVE-2021-3594An invalid pointer initialization issue was found in the SLi…3.8
- CVE-2021-35940An out-of-bounds array read in the apr_time_exp*() functions…7.1
- CVE-2021-35941Western Digital WD My Book Live (2.x and later) and WD My Bo…7.5
- CVE-2021-35943Couchbase Server 6.5.x and 6.6.x through 6.6.2 has Incorrect…9.8
- CVE-2021-35944Couchbase Server 6.5.x, 6.6.x through 6.6.2, and 7.0.0 has a…7.5
- CVE-2021-35945Couchbase Server 6.5.x, 6.6.0 through 6.6.2, and 7.0.0, has …7.5
- CVE-2021-35946A receiver of a federated share with access to the database …9.8
- CVE-2021-35947The public share controller in the ownCloud server before ve…5.3
- CVE-2021-35948Session fixation on password protected public links in the o…5.4
Are you affected by CVE-2021-35942?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
