CVE-2019-13590 An issue was discovered in libsox.a in SoX 14.4.2. In sox-fmt.h (startread function), there is an integer overflow on the result of integer addition (wraparound to 0) fed into the lsx_calloc macro tha...
MediumCVSS 5.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
An issue was discovered in libsox.a in SoX 14.4.2. In sox-fmt.h (startread function), there is an integer overflow on the result of integer addition (wraparound to 0) fed into the lsx_calloc macro that wraps malloc. When a NULL pointer is returned, it is used without a prior check that it is a valid pointer, leading to a NULL pointer dereference on lsx_readbuf in formats_i.c.
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/sox(Debian 12) | < 14.4.2+git20190427-2 | 14.4.2+git20190427-2 | Fixed |
| debian/sox(Debian 13) | < 14.4.2+git20190427-2 | 14.4.2+git20190427-2 | Fixed |
| ubuntu/sox(Ubuntu 18.04) | < 14.4.2-3ubuntu0.18.04.2; = 14.4.1-5build1; = 14.4.2-2; = 14.4.2-3 +1 more | 14.4.2-3ubuntu0.18.04.2 | Fixed |
| ubuntu/sox(Ubuntu Pro 14.04) | < 14.4.1-3ubuntu1.1+esm2; = 14.4.1-3; = 14.4.1-3ubuntu1; = 14.4.1-3ubuntu1.1 +1 more | 14.4.1-3ubuntu1.1+esm2 | Fixed |
| ubuntu/sox(Ubuntu Pro 16.04) | < 14.4.1-5+deb8u4ubuntu0.1+esm1; = 14.4.1-5; = 14.4.1-5+deb8u4ubuntu0.1; = 14.4.1-5ubuntu0.1 +1 more | 14.4.1-5+deb8u4ubuntu0.1+esm1 | Fixed |
| sound exchange project sound exchange | = 14.4.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/sox(Debian:12) | < 14.4.2+git20190427-2 | 14.4.2+git20190427-2 |
| debian/sox(Debian:13) | < 14.4.2+git20190427-2 | 14.4.2+git20190427-2 |
| sound exchange project sound exchange | = 14.4.2 | No fix listed |
| ubuntu/sox(Ubuntu:Pro:14.04) | < 14.4.1-3ubuntu1.1+esm2 | 14.4.1-3ubuntu1.1+esm2 |
| ubuntu/sox(Ubuntu:Pro:14.04) | = 14.4.1-3 | No fix listed |
| ubuntu/sox(Ubuntu:Pro:14.04) | = 14.4.1-3ubuntu1 | No fix listed |
| ubuntu/sox(Ubuntu:Pro:14.04) | = 14.4.1-3ubuntu1.1 | No fix listed |
| ubuntu/sox(Ubuntu:Pro:14.04) | = 14.4.1-3ubuntu1.1+esm1 | No fix listed |
| ubuntu/sox(Ubuntu:Pro:16.04) | < 14.4.1-5+deb8u4ubuntu0.1+esm1 | 14.4.1-5+deb8u4ubuntu0.1+esm1 |
| ubuntu/sox(Ubuntu:Pro:16.04) | = 14.4.1-5 | No fix listed |
| ubuntu/sox(Ubuntu:Pro:16.04) | = 14.4.1-5ubuntu0.1 | No fix listed |
| ubuntu/sox(Ubuntu:Pro:16.04) | = 14.4.1-5ubuntu0.1+esm1 | No fix listed |
| ubuntu/sox(Ubuntu:Pro:16.04) | = 14.4.1-5+deb8u4ubuntu0.1 | No fix listed |
| ubuntu/sox(Ubuntu:18.04) | < 14.4.2-3ubuntu0.18.04.2 | 14.4.2-3ubuntu0.18.04.2 |
| ubuntu/sox(Ubuntu:18.04) | = 14.4.1-5build1 | No fix listed |
| ubuntu/sox(Ubuntu:18.04) | = 14.4.2-2 | No fix listed |
| ubuntu/sox(Ubuntu:18.04) | = 14.4.2-3 | No fix listed |
| ubuntu/sox(Ubuntu:18.04) | = 14.4.2-3ubuntu0.18.04.1 | No fix listed |
References
- Debian Security Tracker CVE-2019-13590 vendor-advisory
- [debian-lts-announce] 20230210 [SECURITY] [DLA 3315-1] sox security update mailing-list
- sourceforge.net exploit issue-tracking third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking