CVE-2018-6360

NameCVE-2018-6360
Descriptionmpv 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4105-1
Debian Bugs888654

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mpv (PTS)buster0.29.1-1fixed
buster (security)0.29.1-1+deb10u1fixed
bullseye0.32.0-3fixed
bookworm0.35.1-4fixed
sid, trixie0.37.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mpvsourcejessie(not affected)
mpvsourcestretch0.23.0-2+deb9u1DSA-4105-1
mpvsource(unstable)0.27.0-3888654

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

Search for package or bug name: Reporting problems