Bug 2167610 (CVE-2023-0687)

Summary: CVE-2023-0687 glibc: gmon memory corruption due wrong calculation of required buffer size
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ashankar, codonell, darunesh, dj, fweimer, glibc-bugzilla, mnewsome, pfrankli, sipoyare
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the GNU C Library. This flaw affects the __monstartup function of the gmon.c of the component Call Graph Monitor file. The manipulation leads to buffer overflow.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-10 16:46:44 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: 2167611, 2167612, 2167613, 2167621, 2167622, 2167623, 2167624, 2167626    
Bug Blocks: 2167614    

Description Sandipan Roy 2023-02-07 05:35:30 UTC
A vulnerability was found in GNU C Library 2.38. This vulnerability affects the function __monstartup of the file gmon.c of the component Call Graph Monitor. The manipulation leads to buffer overflow. It is recommended to apply a patch to fix this issue. VDB-220246 is the identifier assigned to this vulnerability.

https://vuldb.com/?ctiid.220246
https://sourceware.org/bugzilla/show_bug.cgi?id=29444
https://patchwork.sourceware.org/project/glibc/patch/20230204114138.5436-1-leo@yuriev.ru/
https://vuldb.com/?id.220246

Comment 1 Sandipan Roy 2023-02-07 05:40:23 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-36 [bug 2167611]
Affects: fedora-37 [bug 2167613]


Created zig tracking bugs for this issue:

Affects: fedora-36 [bug 2167612]

Comment 3 Siddhesh Poyarekar 2023-02-10 14:36:54 UTC
FYI, this has been rejected as a CVE by upstream:

https://sourceware.org/bugzilla/show_bug.cgi?id=29444#c9
https://sourceware.org/bugzilla/show_bug.cgi?id=29444#c11