Bug 1977975 (CVE-2021-35942)

Summary: CVE-2021-35942 glibc: Arbitrary read in wordexp()
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aoliva, arjun.is, ashankar, bdettelb, caswilli, codonell, dj, fweimer, glibc-bugzilla, jnakfour, kaycoth, law, mcermak, mfabian, mnewsome, pfrankli, rth, sipoyare, tomckay, vmugicag
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 21:52:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1977976, 1979125, 1979126, 1979127, 1979128    
Bug Blocks: 1977977    

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