Improper Input Validation Affecting mpv package, versions <0.27.2-1ubuntu1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.56% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2010-MPV-1031788
  • published28 Jan 2018
  • disclosed28 Jan 2018

Introduced: 28 Jan 2018

CVE-2018-6360  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.10 mpv to version 0.27.2-1ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mpv package and not the mpv package as distributed by Ubuntu. See How to fix? for Ubuntu:20.10 relevant fixed versions and status.

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.