PatchaPalooza

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.

CVE-2021-35942 is a vulnerability in 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., rated Critical by Microsoft, with a CVSS 3.1 base score of 9.1 (Critical). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 2.75% probability of exploitation activity in the next 30 days, higher than 86% of all scored vulnerabilities. Microsoft released the fix on 2 August 2021, outside Patch Tuesday. It affects 1 product in 1 product family (Mariner).

Key facts

CVE ID
CVE-2021-35942
Severity
Critical CVSS 9.1
Microsoft severity
Critical
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-190; CWE-704
EPSS
2.75% (percentile 86%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
July 2021 Patch Tuesday
Product families
Mariner

CVSS score and vector

Microsoft scores CVE-2021-35942 at 9.1 (temporal 9.1) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

MetricValue
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
Confidentiality impactHigh
Integrity impactNone
Availability impactHigh

Frequently asked questions (Microsoft)

Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?

One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.

Affected products (1)

Mariner

ProductSecurity updateTypeFixed buildRestart
cm1 glibc 2.28-19 on CBL Mariner 1.0CBL-Mariner ReleasesSecurity Update2.28-19No

NIST NVD data

NVD status
Modified
NVD CVSS
9.1 (CRITICAL)
NVD weakness
CWE-190; CWE-704
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
glibcbefore 2.31
active iq unified managerall listed versions
e-series santricity os controllerfrom 11.0, up to and including 11.70.1
hci management nodeall listed versions
ontap select deploy administration utilityall listed versions
solidfireall listed versions
debian linux 10.0all listed versions

References

Revision history

VersionDateDescription
1.0Information published.

Sources