CVE-2024-21522 json
audify vulnerable to Improper Validation of Array Index
published 2024-07-10 2 y ago modified 2026-07-10 4 mo ago also GHSA-7vhm-fmph-7wxw , EUVD-2024-2289
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
All versions of the package audify 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.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | audify | <=1.9.0 |
no fix listed |
Affected products
- n/a audify
- almoghamdani audify
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
References
-
security.snyk.io
/vuln/SNYK-JS-AUDIFY-6370700
web
- github.com /almoghamdani/audify/blob/94b2fe79dc528fda2c7d59c7a0fd0e9de07dc3dc/src/opus_decoder.cpp%23L53
-
github.com
/almoghamdani/audify/blob/94b2fe79dc528fda2c7d59c7a0fd0e9de07dc3dc/src/opus_decoder.cpp%23L79
web
-
gist.github.com
/dellalibera/6bb866ae5d1cc2adaabe27bbd6d2d21e
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21522
advisory
-
github.com
/almoghamdani/audify
package
-
github.com
/almoghamdani/audify/blob/94b2fe79dc528fda2c7d59c7a0fd0e9de07dc3dc/src/opus_decoder.cpp#L53
web
Sources
- CVE List CVE-2024-21522
- GitHub Advisory GHSA-7vhm-fmph-7wxw
- NVD CVE-2024-21522
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.