CVE-2018-6360 Code injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code via crafted websites due to unsafe URL handling in mpv's youtube-dl hook.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-6360?

CVE-2018-6360 is a high-severity code injection vulnerability in Debian Debian Linux, published on 28 Jan 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2018-6360?

It affects 2 products.

Linux distribution packages (1)
mpv openSUSE:TumbleweedAll versions0.33.1+git.20210630T163736.f2afae55e9-1.4

Products include Debian Debian Linux, Mpv Mpv.

How do I fix CVE-2018-6360?

Apply the vendor's patch.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2018-6360 being exploited?

There is no known exploitation of CVE-2018-6360 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-6360, DSA-4105-1, GHSA-rj86-j8mq-h692, MGASA-2018-0130, UBUNTU-CVE-2018-6360, openSUSE-SU-2024:11062-1.

Is CVE-2018-6360 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free