Improper Validation of Array Index Affecting audify package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th 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-JS-AUDIFY-6370700
  • published9 Jul 2024
  • disclosed20 Feb 2024
  • creditAlessio Della Libera

Introduced: 20 Feb 2024

CVE-2024-21522  (opens in a new tab)
CWE-129  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for audify.

Overview

audify is a Play/Stream/Record PCM audio data & Encode/Decode Opus to PCM audio data

Affected versions of this package are vulnerable to Improper Validation of Array Index when frameSize is provided to the new OpusDecoder().decode or new OpusDecoder().decodeFloat functions it is not checked for negative values. This can lead to a process crash.

CVSS Scores

version 3.1