Loop with Unreachable Exit Condition ('Infinite Loop') Affecting wavpack package, versions <0:5.1.0-15.el8


Severity

Recommended
low

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
2.23% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-WAVPACK-5653525
  • published28 May 2023
  • disclosed28 Apr 2020

Introduced: 28 Apr 2020

CVE-2018-19840  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 wavpack to version 0:5.1.0-15.el8 or higher.
This issue was patched in ALSA-2020:1581.

NVD Description

Note: Versions mentioned in the description apply only to the upstream wavpack package and not the wavpack package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

The function WavpackPackInit in pack_utils.c in libwavpack.a in WavPack through 5.1.0 allows attackers to cause a denial-of-service (resource exhaustion caused by an infinite loop) via a crafted wav audio file because WavpackSetConfiguration64 mishandles a sample rate of zero.

References

CVSS Base Scores

version 3.1