rustsec-2025-0027
Vulnerability from osv_rustsec
Published
2025-04-28 12:00
Modified
2025-10-28 06:02
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.


{
  "affected": [
    {
      "database_specific": {
        "categories": [
          "denial-of-service"
        ],
        "cvss": null,
        "informational": "unsound"
      },
      "ecosystem_specific": {
        "affected_functions": null,
        "affects": {
          "arch": [],
          "functions": [
            "mp3_metadata::read_from_slice"
          ],
          "os": []
        }
      },
      "package": {
        "ecosystem": "crates.io",
        "name": "mp3-metadata",
        "purl": "pkg:cargo/mp3-metadata"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.0.0-0"
            },
            {
              "fixed": "0.4.0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": []
    }
  ],
  "aliases": [
    "GHSA-927q-g9w9-pm54"
  ],
  "database_specific": {
    "license": "CC0-1.0"
  },
  "details": "The `get_id3()` methods used by `mp3_metadata::read_from_slice()` does not perform adequate bounds\nchecking when recreating the tag due to the use of desynchronization.\n\nFixed in [Fix index error](https://github.com/GuillaumeGomez/mp3-metadata/pull/37), released as\npart of 0.4.0.",
  "id": "RUSTSEC-2025-0027",
  "modified": "2025-10-28T06:02:18Z",
  "published": "2025-04-28T12:00:00Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://crates.io/crates/mp3-metadata"
    },
    {
      "type": "ADVISORY",
      "url": "https://rustsec.org/advisories/RUSTSEC-2025-0027.html"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/GuillaumeGomez/mp3-metadata/issues/36"
    }
  ],
  "related": [],
  "severity": [],
  "summary": "Panic in mp3-metadata due to the lack of bounds checking"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…