Bug 1900055 (CVE-2020-28928)

Summary: CVE-2020-28928 musl: infinite loop in wcsnrtombs function
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ngompa13
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-20 23:33:53 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: 1900056    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-11-20 17:23:33 UTC
The wcsnrtombs function in all musl libc versions up through 1.2.1 has been found to have multiple bugs in handling of destination buffer size when limiting the input character count, which can lead to infinite loop with no forward progress (no overflow) or writing past the end of the destination buffer.

Reference:
https://www.openwall.com/lists/oss-security/2020/11/20/4

Comment 1 Guilherme de Almeida Suckevicz 2020-11-20 17:23:48 UTC
Created musl tracking bugs for this issue:

Affects: fedora-all [bug 1900056]

Comment 2 Product Security DevOps Team 2020-11-20 23:33:53 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.