CVE-2021-35942

CRITICALCVSS 9.1/10EPSS 2.68%

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
9.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

EPSS Probability
2.68%

83.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GnuGlibc< 2.31
NetappActive Iq Unified ManagerAll versions
NetappE-Series Santricity Os Controller>= 11.0, <= 11.70.1
NetappHci Management NodeAll versions
NetappOntap Select Deploy Administration UtilityAll versions
NetappSolidfireAll versions
DebianDebian Linux10.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2021-35942?
CVE-2021-35942 has a CVSS score of 9.1/10 (CRITICAL severity). The EPSS model estimates a 2.68% probability of exploitation in the next 30 days.
How do I fix CVE-2021-35942?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-35942?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST