Bug 2091807 (CVE-2022-31651)

Summary: CVE-2022-31651 sox: an assertion failure in rate_init in rate.c in libsox.a
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: felix, hhorak, hobbes1069, jkucera, jmoskovc
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 heap-based buffer overflow vulnerability exists in the inlsx_aiffstartwrite.environment of the Sound Exchange sox library. A specially-crafted file can lead to a float point exception. This flaw allows an attacker to provide a malicious file to trigger this vulnerability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-08 10:51:05 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: 2094701, 2094702, 2094703    
Bug Blocks: 2091808    

Description Sandipan Roy 2022-05-31 05:53:53 UTC
Hello, I was testing my new fuzzer and found two bugs: a reachable assertion in rate_init, rate.c:303 and a float point exception in lsx_aiffstartwrite.
environment

sox latest commit 42b3557e13e0fe01a83465b672d89faddbe65f49,
clang 12.0.1,
Ubuntu 21.10
step to reproduce

compile sox with CC=clang, CFLAGS="-fsanitize=address -g"
run command ./sox --single-threaded @@ -t aiff /dev/null

https://sourceforge.net/p/sox/bugs/360/

Comment 1 Sandipan Roy 2022-06-08 08:25:25 UTC
Created sox tracking bugs for this issue:

Affects: epel-8 [bug 2094701]
Affects: fedora-35 [bug 2094702]
Affects: fedora-36 [bug 2094703]

Comment 2 Product Security DevOps Team 2022-06-08 10:51:03 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-2022-31651