wavpack: add upstream security fixes
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 27 Feb 2018 21:26:52 +0000 (22:26 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 28 Feb 2018 08:13:53 +0000 (09:13 +0100)
commit4de7e07e6efba7dae79a7f61f397864873272fd3
treec0a22049d670344b6166e368630edc10c7574ca5
parentd5a63f48d71c519736e6378cadedd4f639de16fe
wavpack: add upstream security fixes

Fixes the following security issues:

CVE-2018-6767: A stack-based buffer over-read in the ParseRiffHeaderConfig
function of cli/riff.c file of WavPack 5.1.0 allows a remote attacker to
cause a denial-of-service attack or possibly have unspecified other impact
via a maliciously crafted RF64 file.

CVE-2018-7253: The ParseDsdiffHeaderConfig function of the cli/dsdiff.c file
of WavPack 5.1.0 allows a remote attacker to cause a denial-of-service
(heap-based buffer over-read) or possibly overwrite the heap via a
maliciously crafted DSDIFF file.

CVE-2018-7254: The ParseCaffHeaderConfig function of the cli/caff.c file of
WavPack 5.1.0 allows a remote attacker to cause a denial-of-service (global
buffer over-read), or possibly trigger a buffer overflow or incorrect memory
allocation, via a maliciously crafted CAF file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/wavpack/0002-issue-27-do-not-overwrite-stack-on-corrupt-RF64-file.patch [new file with mode: 0644]
package/wavpack/0003-issue-28-do-not-overwrite-heap-on-corrupt-DSDIFF-fil.patch [new file with mode: 0644]
package/wavpack/0004-issue-28-fix-buffer-overflows-and-bad-allocs-on-corr.patch [new file with mode: 0644]