An issue was discovered in WavPack 5.1.0 and earlier for WAV input. Out-of-bounds writes can occur because ParseRiffHeaderConfig in riff.c does not validate the sizes of unknown chunks before attempting memory allocation, related to a lack of integer-overflow protection within a bytes_to_copy calculation and subsequent malloc call, leading to insufficient memory allocation.
http://packetstormsecurity.com/files/155743/Slackware-Security-Advisory-wavpack-Updates.html
https://github.com/dbry/WavPack/commit/6f8bb34c2993a48ab9afbe353e6d0cff7c8d821d
https://github.com/dbry/WavPack/issues/33
https://seclists.org/bugtraq/2019/Dec/37
Source: MITRE
Published: 2018-04-29
Updated: 2019-12-20
Type: CWE-787
Base Score: 4.3
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P
Impact Score: 2.9
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 5.5
Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 1.8
Severity: MEDIUM
OR
cpe:2.3:a:wavpack:wavpack:*:*:*:*:*:*:*:* versions up to 5.1.0 (inclusive)
OR
ID | Name | Product | Family | Severity |
---|---|---|---|---|
145376 | openSUSE Security Update : wavpack (openSUSE-2021-154) | Nessus | SuSE Local Security Checks | medium |
145305 | openSUSE Security Update : wavpack (openSUSE-2021-153) | Nessus | SuSE Local Security Checks | medium |
145253 | SUSE SLED15 / SLES15 Security Update : wavpack (SUSE-SU-2021:0186-1) | Nessus | SuSE Local Security Checks | medium |
132878 | Fedora 31 : mingw-wavpack (2020-e55567b6be) | Nessus | Fedora Local Security Checks | medium |
132877 | Fedora 30 : mingw-wavpack (2020-73274c9df4) | Nessus | Fedora Local Security Checks | medium |
132333 | Slackware 14.0 / 14.1 / 14.2 / current : wavpack (SSA:2019-353-01) | Nessus | Slackware Local Security Checks | medium |
120255 | Fedora 28 : wavpack (2018-17a97bb25b) | Nessus | Fedora Local Security Checks | medium |
110173 | Fedora 27 : wavpack (2018-d6002f761d) | Nessus | Fedora Local Security Checks | medium |
109749 | FreeBSD : wavpack -- multiple vulnerabilities (50210bc1-54ef-11e8-95d9-9c5c8e75236a) | Nessus | FreeBSD Local Security Checks | medium |
109659 | Debian DSA-4197-1 : wavpack - security update | Nessus | Debian Local Security Checks | medium |
109469 | Ubuntu 17.10 / 18.04 LTS : WavPack vulnerabilities (USN-3637-1) | Nessus | Ubuntu Local Security Checks | medium |