GHSA-927q-g9w9-pm54

Suggest an improvement
Source
https://github.com/advisories/GHSA-927q-g9w9-pm54
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-927q-g9w9-pm54/GHSA-927q-g9w9-pm54.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-927q-g9w9-pm54
Published
2025-04-30T17:41:16Z
Modified
2025-04-30T17:41:17Z
Severity
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Panic in mp3-metadata due to the lack of bounds checking
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-119"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-30T17:41:16Z"
}
References

Affected packages

crates.io / mp3-metadata

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.0