Bug 2091804 (CVE-2022-31650)

Summary: CVE-2022-31650 sox: a floating-point exception in lsx_aiffstartwrite in aiff.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: darunesh, 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 a reachable assertion in the rate_init of the Sound Exchange sox library. A specially-crafted file can lead to a floating-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:50:16 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: 2094698, 2094699, 2094700    
Bug Blocks: 2091808, 2203208    

Description Sandipan Roy 2022-05-31 05:50:44 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:24:36 UTC
Created sox tracking bugs for this issue:

Affects: epel-8 [bug 2094698]
Affects: fedora-35 [bug 2094699]
Affects: fedora-36 [bug 2094700]

Comment 2 Product Security DevOps Team 2022-06-08 10:50:14 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-31650

Comment 3 Borja Tarraso 2023-08-14 05:20:49 UTC
*** Bug 2212279 has been marked as a duplicate of this bug. ***