CVE-2024-21522 audify vulnerable to Improper Validation of Array Index
An attacker can crash the application by providing a negative frame size to the OpusDecoder, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-21522?
CVE-2024-21522 is a high-severity denial of service vulnerability in audify, published on 10 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-129
Which versions are affected by CVE-2024-21522?
2 open source packages ship an affected version, including audify.
| Package | Affected | Fixed in |
|---|---|---|
audify npm | All versions to 1.9.0 | None |
audify npm | All versions to 1.9.0 | None |
How do I fix CVE-2024-21522?
No fix has been published for CVE-2024-21522 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-21522 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21522 exists.
Sources
Also known as GHSA-7vhm-fmph-7wxw.