Loop with Unreachable Exit Condition ('Infinite Loop') Affecting wavpack package, versions <5.1.0-r7


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.19% (58th 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-ALPINE321-WAVPACK-8489750
  • published6 Dec 2024
  • disclosed4 Dec 2018

Introduced: 4 Dec 2018

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

How to fix?

Upgrade Alpine:3.21 wavpack to version 5.1.0-r7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream wavpack package and not the wavpack package as distributed by Alpine. See How to fix? for Alpine:3.21 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 Scores

version 3.1