{"id":"CVE-2018-6360","state":"PUBLISHED","title":"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 i","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.","publishedAt":"2018-01-28T02:00:00.000Z","updatedAt":"2024-08-05T06:01:48.942Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43","https://security.gentoo.org/glsa/201805-05","https://github.com/mpv-player/mpv/issues/5456","https://www.debian.org/security/2018/dsa-4105"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:58.277Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/6xxx/CVE-2018-6360.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-6360","state":"PUBLISHED","datePublished":"2018-01-28T02:00:00.000Z","dateUpdated":"2024-08-05T06:01:48.942Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-01-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/201805-05","name":"GLSA-201805-05","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://github.com/mpv-player/mpv/issues/5456","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2018/dsa-4105","name":"DSA-4105","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-21T09:57:02.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-01-27T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-6360","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43","refsource":"MISC","url":"https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43"},{"name":"GLSA-201805-05","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201805-05"},{"name":"https://github.com/mpv-player/mpv/issues/5456","refsource":"MISC","url":"https://github.com/mpv-player/mpv/issues/5456"},{"name":"DSA-4105","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4105"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/mpv-player/mpv/commit/e6e6b0dcc7e9b0dbf35154a179b3dc1fcfcaff43","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201805-05","name":"GLSA-201805-05","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://github.com/mpv-player/mpv/issues/5456","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.debian.org/security/2018/dsa-4105","name":"DSA-4105","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T06:01:48.942Z"}}]}}}