Minimp3 has a security vunerability

Open
#774 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust

Research direction

Read the linked Dependabot security alert for the reported impact and affected dependency, then compare the proposed options: removing minimp3, replacing slice-ring-buffer, or extending the fork with seeking support. Decide which resolution the project wants before estimating implementation; done means the chosen security issue is addressed and any related rodio behavior is covered.

Written by the indexing model from the issue text.

Description

dependencies

https://github.com/RustAudio/rodio/security/dependabot/2

Impact on rodio: low
Our default is symphonia which has no such vulnerabilities.

Possible resolutions

  • remove minimp3, symphonia covers all use-cases. The only reason to keep minimp3 is licensing
  • fix minimp3 by removing its dependency on slice-ring-buffer. Note I have an old fork of minimp3 which implements seeking. Might be worth fixing it there and then adding seeking support to minimp3 in rodio: https://github.com/dvdsk/minimp3-rs
Dominant language
Rust
Stars
2.5k
Forks
338
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RustAudio/rodio

All issues in RustAudio/rodio

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.