Improper Input Validation Affecting mpv-player/mpv package, versions [,0.28.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.56% (88th 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-UNMANAGED-MPVPLAYERMPV-2364510
  • published26 Jan 2022
  • disclosed28 Jan 2018
  • creditUnknown

Introduced: 28 Jan 2018

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

How to fix?

Upgrade mpv-player/mpv to version 0.28.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation 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.

CVSS Scores

version 3.1