CVE-2021-35942 Integer overflow in n/a

Critical 9.1 Published Updated

An integer overflow in glibc's wordexp function allows attackers to cause crashes or read arbitrary memory via crafted patterns.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-35942?

CVE-2021-35942 is a critical vulnerability in Debian Debian Linux, published on 22 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-190, CWE-704

Which versions are affected by CVE-2021-35942?

It affects 7 products.

Products include Debian Debian Linux, Gnu Glibc, Netapp Active Iq Unified Manager, Netapp E-Series Santricity Os Controller, Netapp Hci Management Node, Netapp Ontap Select Deploy Administration Utility and 1 more.

How do I fix CVE-2021-35942?

Apply the vendor's patch.

Is CVE-2021-35942 being exploited?

There is no known exploitation of CVE-2021-35942 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as CLSA-2026-1777456776, DEBIAN-CVE-2021-35942, GHSA-53wq-r63f-m33q, MGASA-2021-0362, OESA-2021-1296, UBUNTU-CVE-2021-35942.

Is CVE-2021-35942 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free