CVE-2019-8357
published 2019-02-15CVE-2019-8357: An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
PriorityP419medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
1.60%
73.0th percentile
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
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.5LOW
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-qmr3-6jfh-4h6m: An issue was discovered in SoX 14
ghsa_unreviewed·2022-05-14
CVE-2019-8357 [MEDIUM] CWE-476 GHSA-qmr3-6jfh-4h6m: An issue was discovered in SoX 14
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
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-8357: An issue was discovered in SoX 14
osv·2019-02-15·CVSS 5.5
CVE-2019-8357 [MEDIUM] CVE-2019-8357: An issue was discovered in SoX 14
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
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: null pointer dereference in function lsx_make_lpf in effect_i_dsp.c
vendor_redhat·2019-02-07·CVSS 5.5
CVE-2019-8357 [MEDIUM] CWE-476 sox: null pointer dereference in function lsx_make_lpf in effect_i_dsp.c
sox: null pointer dereference in function lsx_make_lpf in effect_i_dsp.c
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
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) - Fix deferred
Debian
CVE-2019-8357: sox - An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a N...
vendor_debian·2019·CVSS 5.5
CVE-2019-8357 [MEDIUM] CVE-2019-8357: sox - An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a N...
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
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-8357 sox: null pointer dereference in function lsx_make_lpf in effect_i_dsp.c [fedora-all]
bugzilla·2019-02-18·CVSS 5.5
CVE-2019-8357 [MEDIUM] CVE-2019-8357 sox: null pointer dereference in function lsx_make_lpf in effect_i_dsp.c [fedora-all]
CVE-2019-8357 sox: null pointer dereference in function lsx_make_lpf in effect_i_dsp.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 multi
Bugzilla
CVE-2019-8357 sox: null pointer dereference in function lsx_make_lpf in effect_i_dsp.c
bugzilla·2019-02-18·CVSS 5.5
CVE-2019-8357 [MEDIUM] CVE-2019-8357 sox: null pointer dereference in function lsx_make_lpf in effect_i_dsp.c
CVE-2019-8357 sox: null pointer dereference in function lsx_make_lpf in effect_i_dsp.c
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
Reference:
https://sourceforge.net/p/sox/bugs/318
Discussion:
Created sox tracking bugs for this issue:
Affects: fedora-all [bug 1678298]
---
in lsx_make_lpf, num_taps is passed in a large value (402653185 in poc).
malloc then fails here:
```
│360 double * h = malloc(num_taps * sizeof(*h)), sum = 0;
```
sizeof(*h) is 8, which ends up passing around 3GB to malloc, which returns 0.
The fix is to check the malloc return code and also potentially sanitize whatever is setting the large num_taps earlier.
Code doesn't seem to exist in earlier versions than that shipped in Red Hat Enterprise Linux
https://lists.debian.org/debian-lts-announce/2019/05/msg00040.htmlhttps://sourceforge.net/p/sox/bugs/318https://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/318https://usn.ubuntu.com/4079-1/https://usn.ubuntu.com/4079-2/
2019-02-15
Published