Infinite loop in WavPack - CVE-2018-19840

 

Infinite loop in WavPack - CVE-2018-19840

Published: December 5, 2018


Vulnerability identifier: #VU16283
CSH Severity: Low
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-19840
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists in the WavpackPackInit function, as defined in the pack_utils.csource code file due to the WavpackSetConfiguration64 function improperly handles a block sample rate of zero. A remote attacker can trick the victim into accessing a .wav file that submits malicious, trigger an infinite loop condition that could consume excessive resources and cause the affected software to crash, resulting in a DoS condition.


Affected software

WavPack
Gentoo Linux
Fedora
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Slackware Linux
Opensuse
wavpack (Alpine package)
wavpack (Ubuntu package)
mingw-wavpack
wavpack
wavpack (Red Hat package)

How to mitigate CVE-2018-19840

Install update from vendor's website.

wavpack (Alpine package) - update to 5.1.0-r3
wavpack (Ubuntu package) - addressed in versions 4.70.0-1ubuntu0.2, 4.75.2-2ubuntu0.2, 5.1.0-2ubuntu1.2, 5.1.0-4ubuntu0.1
mingw-wavpack - addressed in versions 5.1.0-9.el7, 5.1.0-9.fc30, 5.1.0-9.fc31
wavpack - addressed in versions 5.1.0-12.fc28, 5.1.0-12.fc29, 5.1.0-12.fc30
wavpack (Red Hat package) - update to 5.1.0-15.el8

External References

Related Security Bulletins