Description
mpv 0.29.0 before 0.42.0 contains a playlist injection vulnerability in the bundled ytdl_hook script that allows remote attackers to add unchecked entries by embedding newlines in playlist URLs. Attackers controlling a feed or page can bypass url_is_safe() to open file:// or av:// inputs, reading local files or loading shared objects via ladspa for code execution.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
mpv-player mpv
Default version status: unaffected
0.29.0 to < 0.42.0affected
pkg:github/mpv-player/mpvReferences
- https://github.com/mpv-player/mpv/pull/18762 ↗
- https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856 ↗
- https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L244-L251 ↗
- https://github.com/mpv-player/mpv/blob/v0.41.0/player/lua/ytdl_hook.lua#L1115-L1137 ↗
- https://github.com/mpv-player/mpv/releases/tag/v0.42.0 ↗
- https://github.com/mpv-player/mpv ↗
- https://www.vulncheck.com/advisories/mpv-0.29.0-before-0.42.0-playlist-entry-injection-via-ytdl-hook-newlines ↗