GitHub Advisoryadvisory · npm
GHSA-7vhm-fmph-7wxw audify vulnerable to Improper Validation of Array Index
HIGH
Official page ↗
- Aliases
- CVE-2024-21522
- Ecosystem
- npm
- Packages
- audify
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-129
- Reviewed
- 2024-07-10
Affected packages
• npm audify: <= 1.9.0 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2024-21522 All versions of the package audify are vulnerable to Improper Validation of Array Index when frameSize is provided to the new… vulnerability
Weakness · CWE (1)
- CWE-129 Improper Validation of Array Index weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21522 advisory
- https://gist.github.com/dellalibera/6bb866ae5d1cc2adaabe27bbd6d2d21e web
- https://github.com/almoghamdani/audify package
- https://github.com/almoghamdani/audify/blob/94b2fe79dc528fda2c7d59c7a0fd0e9de07dc3dc/src/opus_decoder.cpp#L53 web
- https://github.com/almoghamdani/audify/blob/94b2fe79dc528fda2c7d59c7a0fd0e9de07dc3dc/src/opus_decoder.cpp%23L79 web
- https://security.snyk.io/vuln/SNYK-JS-AUDIFY-6370700 web