Mailing List Archive

[ GLSA 201805-05 ] mpv: Remote code execution
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201805-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: mpv: Remote code execution
Date: May 14, 2018
Bugs: #646886
ID: 201805-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability has been found in mpv that may allow a remote attacker
to execute arbitrary code.

Background
==========

Video player based on MPlayer/mplayer2

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-video/mpv < 0.27.2 >= 0.27.2

Description
===========

A vulnerability was discovered in mpv with the handling of HTML
documents containing VIDEO elements. Additionally, mpv accepts
arbitrary URLs in a src attribute without a protocol whitelist in
player/lua/ytdl_hook.lua.

Impact
======

A remote attacker, by enticing the user to visit a specially crafted
web site, could execute arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All mpv users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-video/mpv-0.27.2"

References
==========

[ 1 ] CVE-2018-6360
https://nvd.nist.gov/vuln/detail/CVE-2018-6360

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/201805-05

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2018 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5