CVE-2019-8356
published 2019-02-15CVE-2019-8356: An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the…
PriorityP426medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
1.81%
76.0th percentile
An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the statically declared array, aka a stack-based buffer overflow.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sox | < sox 14.4.2+git20190427-1 (bookworm) | sox 14.4.2+git20190427-1 (bookworm) |
| sound_exchange_project | sound_exchange | — | — |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-q96g-69rj-hjwx: An issue was discovered in SoX 14
ghsa_unreviewed·2022-05-13
CVE-2019-8356 [MEDIUM] CWE-787 GHSA-q96g-69rj-hjwx: An issue was discovered in SoX 14
An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the statically declared array, aka a stack-based buffer overflow.
OSV
sox vulnerabilities
osv·2019-08-01·CVSS 5.0
CVE-2019-8354 [MEDIUM] sox vulnerabilities
sox vulnerabilities
USN-4079-1 fixed vulnerabilities in SoX. This update provides the corresponding
update for Ubuntu 18.04 LTS and Ubuntu 19.04.
Original advisory details:
It was discovered that SoX incorrectly handled certain MP3 files. An attacker
could possibly use this issue to cause a denial of service. (CVE-2019-8354,
CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
OSV
sox vulnerabilities
osv·2019-07-30·CVSS 5.0
CVE-2019-8354 [MEDIUM] sox vulnerabilities
sox vulnerabilities
It was discovered that SoX incorrectly handled certain MP3 files. An attacker
could possibly use this issue to cause a denial of service. (CVE-2019-8354,
CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
OSV
CVE-2019-8356: An issue was discovered in SoX 14
osv·2019-02-15·CVSS 5.5
CVE-2019-8356 [MEDIUM] CVE-2019-8356: An issue was discovered in SoX 14
An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the statically declared array, aka a stack-based buffer overflow.
Ubuntu
SoX vulnerabilities
vendor_ubuntu·2019-08-01·CVSS 5.0
CVE-2019-8354 [MEDIUM] SoX vulnerabilities
Title: SoX vulnerabilities
Summary: SoX could be made to crash if it received a specially crafted MP3 file.
USN-4079-1 fixed vulnerabilities in SoX. This update provides the corresponding
update for Ubuntu 18.04 LTS and Ubuntu 19.04.
Original advisory details:
It was discovered that SoX incorrectly handled certain MP3 files. An attacker
could possibly use this issue to cause a denial of service. (CVE-2019-8354,
CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
SoX vulnerabilities
vendor_ubuntu·2019-07-30·CVSS 5.0
CVE-2019-8354 [MEDIUM] SoX vulnerabilities
Title: SoX vulnerabilities
Summary: SoX could be made to crash if it received a specially crafted MP3 file.
It was discovered that SoX incorrectly handled certain MP3 files. An attacker
could possibly use this issue to cause a denial of service. (CVE-2019-8354,
CVE-2019-8355, CVE-2019-8356, CVE-2019-8357)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
sox: stack-based buffer overflow in bitrv2 in fft4g.c
vendor_redhat·2019-02-07·CVSS 5.5
CVE-2019-8356 [MEDIUM] CWE-121 sox: stack-based buffer overflow in bitrv2 in fft4g.c
sox: stack-based buffer overflow in bitrv2 in fft4g.c
An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the statically declared array, aka a stack-based buffer overflow.
Package: sox (Red Hat Enterprise Linux 5) - Not affected
Package: sox (Red Hat Enterprise Linux 6) - Not affected
Package: sox (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2019-8356: sox - An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c...
vendor_debian·2019·CVSS 5.5
CVE-2019-8356 [MEDIUM] CVE-2019-8356: sox - An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c...
An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the statically declared array, aka a stack-based buffer overflow.
Scope: local
bookworm: resolved (fixed in 14.4.2+git20190427-1)
bullseye: resolved (fixed in 14.4.2+git20190427-1)
trixie: resolved (fixed in 14.4.2+git20190427-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-8356 sox: stack-based buffer overflow in bitrv2 in fft4g.c [fedora-all]
bugzilla·2019-02-18·CVSS 5.5
CVE-2019-8356 [MEDIUM] CVE-2019-8356 sox: stack-based buffer overflow in bitrv2 in fft4g.c [fedora-all]
CVE-2019-8356 sox: stack-based buffer overflow in bitrv2 in fft4g.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versi
Bugzilla
CVE-2019-8356 sox: stack-based buffer overflow in bitrv2 in fft4g.c
bugzilla·2019-02-18·CVSS 5.5
CVE-2019-8356 [MEDIUM] CVE-2019-8356 sox: stack-based buffer overflow in bitrv2 in fft4g.c
CVE-2019-8356 sox: stack-based buffer overflow in bitrv2 in fft4g.c
An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the statically declared array, aka a stack-based buffer overflow.
Reference:
https://sourceforge.net/p/sox/bugs/321
Discussion:
Created sox tracking bugs for this issue:
Affects: fedora-all [bug 1678296]
---
```
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b54a8d in bitrv2 (n=1048576, ip0=0x615a68, a=0x7ffff650a010) at fft4g.c:807
807 }
(gdb) bt
#0 0x00007ffff7b54a8d in bitrv2 (n=1048576, ip0=0x615a68, a=0x7ffff650a010) at fft4g.c:807
```
---
Eventually, below, we generate a m that is 256 when n is 1048576.
```
│709 static void bitrv2(int n, int *ip0
https://lists.debian.org/debian-lts-announce/2019/05/msg00040.htmlhttps://sourceforge.net/p/sox/bugs/321https://usn.ubuntu.com/4079-1/https://usn.ubuntu.com/4079-2/https://lists.debian.org/debian-lts-announce/2019/05/msg00040.htmlhttps://sourceforge.net/p/sox/bugs/321https://usn.ubuntu.com/4079-1/https://usn.ubuntu.com/4079-2/
2019-02-15
Published