CVE-2021-35942: Integer Overflow

Published Jul 22, 2021
·
Updated

Last updated 24 July 2024

Other sources

The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parseparam (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.

Affected Software

11 affected componentsFixes available
GNU glibc<2.32
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp E-Series SANtricity OS Controller>=11.0<=11.70.1
NetApp Hci Management Node
NetApp ONTAP Select Deploy administration utility
NetApp Solidfire
Debian Debian Linux=10.0
debian/glibc
2.31-13+deb11u112.31-13+deb11u102.36-9+deb12u102.36-9+deb12u72.41-7
GNU glibc<2.31
IBM Watson Studio on Cloud Pak for Data<=4.0
IBM Watson Studio on Cloud Pak for Data<=5.0

Event History

Jul 22, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
May 6, 2024
Data Sourced
via Launchpad·03:08 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·03:28 PM
RemedyDescriptionSeverityAffected Software
Aug 28, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-35942?

CVE-2021-35942 is a vulnerability in the GNU C Library (glibc) through version 2.33 that can result in a denial of service or disclosure of information.

2

What is the severity of CVE-2021-35942?

The severity of CVE-2021-35942 is critical with a CVSS score of 9.1.

3

How does CVE-2021-35942 affect GNU glibc?

CVE-2021-35942 affects GNU glibc through version 2.33 and may cause crashes or read arbitrary memory.

4

How can CVE-2021-35942 be exploited?

CVE-2021-35942 can be exploited by calling the wordexp function in GNU glibc with an untrusted, crafted pattern.

5

How can I fix CVE-2021-35942?

To fix CVE-2021-35942, update GNU glibc to a version beyond 2.33 when it becomes available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203