Name | CVE-2018-6360 |
Description | mpv through 0.28.0 allows remote attackers to execute arbitrary code via a crafted web site, because it reads HTML documents containing VIDEO elements, and accepts arbitrary URLs in a src attribute without a protocol whitelist in player/lua/ytdl_hook.lua. For example, an av://lavfi:ladspa=file= URL signifies that the product should call dlopen on a shared object file located at an arbitrary local pathname. The issue exists because the product does not consider that youtube-dl can provide a potentially unsafe URL. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4105-1 |
Debian Bugs | 888654 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mpv (PTS) | jessie | 0.6.2-2 | fixed |
| stretch (security), stretch (lts), stretch | 0.23.0-2+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 0.29.1-1+deb10u1 | fixed |
| bullseye | 0.32.0-3 | fixed |
| bookworm | 0.35.1-4 | fixed |
| sid, trixie | 0.38.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
mpv | source | jessie | (not affected) | | | |
mpv | source | stretch | 0.23.0-2+deb9u1 | | DSA-4105-1 | |
mpv | source | (unstable) | 0.27.0-3 | | | 888654 |
Notes
[jessie] - mpv <not-affected> (Vulnerable code not present, youtube-dl hook script added in 0.7.0)
https://github.com/mpv-player/mpv/issues/5456
https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43