Improper Input Validation Affecting mpv package, versions <0.27.0-r3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.59% (85th 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 IDSNYK-ALPINE312-MPV-588200
  • 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 Alpine:3.12 mpv to version 0.27.0-r3 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 Alpine. See How to fix? for Alpine:3.12 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.