Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803437 (CVE-2021-35942) - <sys-libs/glibc-2.33-r5 : OOB read (CVE-2021-35942)
Summary: <sys-libs/glibc-2.33-r5 : OOB read (CVE-2021-35942)
Status: CONFIRMED
Alias: CVE-2021-35942
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://sourceware.org/bugzilla/show_...
Whiteboard: B3 [glsa? cleanup]
Keywords:
Depends on: libxcrypt-stable
Blocks:
  Show dependency tree
 
Reported: 2021-07-23 00:55 UTC by John Helmert III
Modified: 2022-01-05 05:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-07-23 00:55:45 UTC
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.

Unreleased patch: https://sourceware.org/git/?p=glibc.git;a=commit;h=5adda61f62b77384718b4c0d8336ade8f2b4b35c
Comment 1 NATTkA bot gentoo-dev 2021-07-29 17:20:35 UTC Comment hidden (obsolete)
Comment 2 NATTkA bot gentoo-dev 2021-07-29 17:28:38 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:36:37 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:44:40 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:52:44 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 17:56:39 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 18:00:39 UTC Comment hidden (obsolete)
Comment 8 NATTkA bot gentoo-dev 2021-07-29 18:08:56 UTC
Package list is empty or all packages have requested keywords.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2021-07-31 22:40:24 UTC
fixed in Gentoo 2.33 patchset 5