Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838382 (CVE-2021-23210, CVE-2021-3643, CVE-2021-40426, CVE-2022-31650, CVE-2022-31651) - media-sound/sox: multiple vulnerabilities
Summary: media-sound/sox: multiple vulnerabilities
Status: CONFIRMED
Alias: CVE-2021-23210, CVE-2021-3643, CVE-2021-40426, CVE-2022-31650, CVE-2022-31651
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://talosintelligence.com/vulnera...
Whiteboard: B2 [??]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-15 00:15 UTC by John Helmert III
Modified: 2022-05-26 07:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-04-15 00:15:28 UTC
CVE-2021-40426:

A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

No link to upstream report, or patch, or anything, but sphere.c doesn't seem to have been touched since 2014.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-05-03 00:25:02 UTC
CVE-2021-3643 (https://bugzilla.redhat.com/show_bug.cgi?id=1980626):

A flaw was found in sox 14.4.1. The lsx_adpcm_init function within libsox leads to a global-buffer-overflow. This flaw allows an attacker to input a malicious file, leading to the disclosure of sensitive information.

According to the Redhat bug, CVE-2021-23210 (a DoS) also affects Sox.
Comment 2 filip ambroz 2022-05-26 07:29:13 UTC
[CVE-2022-31650]
In SoX 14.4.2, there is a floating-point exception in lsx_aiffstartwrite in aiff.c in libsox.a.

[CVE-2022-31651]
In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.

---
Found by fuzzing.
URL: https://sourceforge.net/p/sox/bugs/360/