Bug 1977975 (CVE-2021-35942) - CVE-2021-35942 glibc: Arbitrary read in wordexp()
Summary: CVE-2021-35942 glibc: Arbitrary read in wordexp()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-35942
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1977976 1979125 1979126 1979127 1979128
Blocks: 1977977
TreeView+ depends on / blocked
 
Reported: 2021-06-30 20:04 UTC by Pedro Sampaio
Modified: 2023-09-26 18:21 UTC (History)
20 users (show)

Fixed In Version: glibc 2.34
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow flaw was found in glibc that may result in reading of arbitrary memory when wordexp is used with a specially crafted untrusted regular expression input.
Clone Of:
Environment:
Last Closed: 2021-11-09 21:52:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4358 0 None None None 2021-11-09 18:28:24 UTC
Sourceware 28011 0 P2 RESOLVED Wild read in wordexp (parse_param) (CVE-2021-35942) 2021-07-05 11:47:14 UTC

Description Pedro Sampaio 2021-06-30 20:04:59 UTC
An integer overflow flaw was found in glibc before 2.34 that may result in reading of arbitrary memory when wordexp is used with a specially
crafted untrusted regular expression input.

References:

https://sourceware.org/bugzilla/show_bug.cgi?id=28011
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5adda61f62b77384718b4c0d8336ade8f2b4b35c
https://sourceware.org/glibc/wiki/Security%20Exceptions

Comment 1 Pedro Sampaio 2021-06-30 20:05:30 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 1977976]

Comment 3 errata-xmlrpc 2021-11-09 18:28:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4358 https://access.redhat.com/errata/RHSA-2021:4358

Comment 4 Product Security DevOps Team 2021-11-09 21:52:40 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-35942


Note You need to log in before you can comment on or make changes to this bug.