CVE-2021-35942

Scores

EPSS

0.016very_low1.6%
0%20%40%60%80%100%

Percentile: 1.6%

CVSS

9.1critical3.x
0246810

CVSS Score: 9.1/10

All CVSS Scores

CVSS 3.x
9.1

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

CVSS 2.0
6.4

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:P

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

astradebiannvdredhatubuntu

CWEs

CWE-190

Related Vulnerabilities

Recommendations

Source: nvd

All GNU C Library users should upgrade to the latest version:
# emerge –sync
# emerge –ask –oneshot –verbose “>=sys-libs/glibc-2.34-r7”

URL: https://security.gentoo.org/glsa/202208-24

Vulnerable Software (45)

Type: Configuration

Product: eglibc

Operating System: ubuntu trusty 14.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: altlinux

Trait:
{  "fixed": "6:2.32-alt4"}

Source: redhat

Type: Configuration

Product: glibc

Operating System: ubuntu focal 20.04

Trait:
{  "fixed": "2.31-0ubuntu9.7"}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu groovy 20.10

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu hirsute 21.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu impish 21.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu jammy 22.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu kinetic 22.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu lunar 23.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu mantic 23.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu noble 24.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu oracular 24.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu plucky 25.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu questing 25.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: ubuntu xenial 16.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: glibc

Operating System: debian

Trait:
{  "fixed": "2.31-13"}

Source: debian

Type: Configuration

Product: glibc

Operating System: rhel

Trait:
{  "fixed": "2.28-164.el8"}

Source: redhat

Type: Configuration

Product: glibc

Operating System: rhel 8

Trait:
{  "fixed": "2.28-164.el8"}

Source: redhat

Type: Configuration

Product: glibc

Operating System: astra 1.7.2.5

Trait:
{  "unaffected": true}

Source: astra

Type: Configuration

Product: glibc

Operating System: astra 4.7.2.5

Trait:
{  "unaffected": true}

Source: astra