Name | CVE-2021-35942 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3152-1, ELA-724-1, ELA-725-1 |
Debian Bugs | 990542 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
glibc (PTS) | jessie, jessie (lts) | 2.19-18+deb8u14 | fixed |
stretch (security) | 2.24-11+deb9u1 | vulnerable | |
stretch (lts), stretch | 2.24-11+deb9u7 | fixed | |
buster (security), buster, buster (lts) | 2.28-10+deb10u4 | fixed | |
bullseye | 2.31-13+deb11u11 | fixed | |
bullseye (security) | 2.31-13+deb11u10 | fixed | |
bookworm | 2.36-9+deb12u9 | fixed | |
bookworm (security) | 2.36-9+deb12u7 | fixed | |
sid, trixie | 2.40-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
glibc | source | jessie | 2.19-18+deb8u11 | ELA-725-1 | ||
glibc | source | stretch | 2.24-11+deb9u5 | ELA-724-1 | ||
glibc | source | buster | 2.28-10+deb10u2 | DLA-3152-1 | ||
glibc | source | (unstable) | 2.31-13 | 990542 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28011
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5adda61f62b77384718b4c0d8336ade8f2b4b35c