CVSS 3.1
9.1 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HCritical (9.1). EPSS 2.8% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HExplain CVE-2021-35942 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-35942?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-35942?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-35942 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gnu:glibc | before 2.31 |
| netapp:e-series_santricity_os_controller | from 11.0 through 11.70.1 |
| debian:debian_linux | 10.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | glibc | 2.28-10+deb10u2 | DLA-3152-1 |
| Debian | 12, 13, 14 | glibc | 2.31-13 | DEBIAN-CVE-2021-35942 |
| Ubuntu | 18.04:LTS | glibc | 2.27-3ubuntu1.5 | UBUNTU-CVE-2021-35942 USN-5310-1 |
| Ubuntu | 20.04:LTS | glibc | 2.31-0ubuntu9.7 | UBUNTU-CVE-2021-35942 USN-5310-1 |
| Ubuntu | Pro:14.04:LTS | eglibc | no fix listed | UBUNTU-CVE-2021-35942 |
| Ubuntu | Pro:16.04:LTS | glibc | 2.23-0ubuntu11.3+esm2 | UBUNTU-CVE-2021-35942 USN-5699-1 |
| Red Hat | enterprise_linux:8::appstream | glibc-utils, glibc-debuginfo, glibc-debuginfo-common and 1 more | 0:2.28-164.el8 | RHSA-2021:4358 |
| Red Hat | enterprise_linux:8::baseos | nscd, glibc, libnsl and 205 more | 0:2.28-164.el8 | RHSA-2021:4358 |
| Red Hat | enterprise_linux:8::crb | nss_hesiod, glibc-static, glibc-debuginfo and 3 more | 0:2.28-164.el8 | RHSA-2021:4358 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 more | glibc | 2.26-13.59.1 | SUSE-SU-2021:3385-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 more | glibc | 2.22-116.1 | SUSE-SU-2021:3289-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Development Tools 15 SP3 | glibc | 2.31-9.3.2 | SUSE-SU-2021:3291-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSS | glibc | 2.11.3-17.110.37.1 | SUSE-SU-2021:14822-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | glibc | 2.22-114.12.1 | SUSE-SU-2021:2480-1 |
| openSUSE | Leap 15.2 | glibc, glibc-testsuite-src | 2.26-lp152.26.9.1 | openSUSE-SU-2021:1374-1 |
| openSUSE | Leap 15.3 | glibc | 2.31-9.3.2 | openSUSE-SU-2021:3291-1 |
| openSUSE | Tumbleweed | glibc | 2.38-6.1 | openSUSE-SU-2024:13388-1 |
| AlmaLinux | 8 | nss_hesiod, glibc-utils, glibc-static and 3 more | 2.28-164.el8 | ALSA-2021:4358 |
| Rocky Linux | 8 | glibc | 0:2.28-164.el8 | RLSA-2021:4358 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
This is an integer overflow flaw in wordexp(), caused by a specially crafted untrusted regular expression input. It can result in arbitrary memory read. The upstream glibc project generally does not consider bugs due to untrusted inputs as security issues, but this is an exception since it invokes undefined behaviour in glibc. In general, use of untrusted regular expression input is strongly discouraged. This flaw has been rated as having a security impact of Moderate as no application shipped with Red Hat Enterprise Linux passes untrusted data to wordexp() by default.
Do not use untrusted regular expression input for the wordexp() function.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | glibc-0:2.28-164.el8 | Fixed 2021-11-09 | RHSA-2021:4358 |
| Red Hat Enterprise Linux 6 | compat-glibc | Out of support scope | |
| Red Hat Enterprise Linux 6 | glibc | Out of support scope | |
| Red Hat Enterprise Linux 7 | compat-glibc | Out of support scope | |
| Red Hat Enterprise Linux 7 | glibc | Out of support scope | |
| Red Hat Enterprise Linux 9 | glibc | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-35942.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-23-348-10 | Siemens SIMATIC S7-1500 | 2023-12-12 | Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilities | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
| ICSA-23-166-10 | Siemens SIMATIC S7-1500 TM MFP BIOS | 2023-06-13 | Multiple | SIMATIC S7-1500 TM MFP - BIOS | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.