Bug 2091807 (CVE-2022-31651) - CVE-2022-31651 sox: an assertion failure in rate_init in rate.c in libsox.a
Summary: CVE-2022-31651 sox: an assertion failure in rate_init in rate.c in libsox.a
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2022-31651
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2094701 2094702 2094703
Blocks: 2091808
TreeView+ depends on / blocked
 
Reported: 2022-05-31 05:53 UTC by Sandipan Roy
Modified: 2022-07-01 12:08 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2022-06-08 10:51:05 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.