music-metadata: Uncontrolled memory allocation in APEv2 parser
Borewit music-metadata
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| music-metadata npm |
|
|
Original description
music-metadata is a metadata parser for audio and video media files. Prior to 11.16.0, the APEv2 parser reads an attacker-controlled tag-item size and allocates a Uint8Array for a binary item before proving that the declared item fits in the remaining tag or file data. A small crafted APE file can therefore trigger a disproportionate allocation, including through cover-art items, and repeated or concurrent parsing can exhaust process memory. The demonstrated impact is availability loss only. This issue is fixed in version 11.16.0.
From the CVE record · GitHub_M