Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. mp3-metadata
  4. ›
  5. GHSA-927q-g9w9-pm54

GHSA-927q-g9w9-pm54: Panic in mp3-metadata due to the lack of bounds checking

April 30, 2025

The get_id3() methods used by mp3_metadata::read_from_slice() does not perform adequate bounds checking when recreating the tag due to the use of desynchronization.

Fixed in Fix index error, released as part of 0.4.0.

References

  • github.com/GuillaumeGomez/mp3-metadata
  • github.com/GuillaumeGomez/mp3-metadata/issues/36
  • github.com/GuillaumeGomez/mp3-metadata/pull/37
  • github.com/advisories/GHSA-927q-g9w9-pm54
  • rustsec.org/advisories/RUSTSEC-2025-0027.html

Code Behaviors & Features

Detect and mitigate GHSA-927q-g9w9-pm54 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.0

Fixed versions

  • 0.4.0

Solution

Upgrade to version 0.4.0 or above.

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

cargo/mp3-metadata/GHSA-927q-g9w9-pm54.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:15:11 +0000.