[ GLSA 201805-05 ] mpv: Remote code execution


–a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
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
=3D=3D=3D=3D=3D=3D=3D=3D

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

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Video player based on MPlayer/mplayer2

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

——————————————————————-
Package / Vulnerable / Unaffected
——————————————————————-
1 media-video/mpv =3D 0.27.2=20

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D

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

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

There is no known workaround at this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All mpv users should upgrade to the latest version:

# emerge –sync
# emerge –ask –oneshot –verbose “>=3Dmedia-video/mpv-0.27.2″

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

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

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D=3D

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

–a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature; name=”signature.asc”
Content-Description: Digital signature

—–BEGIN PGP SIGNATURE—–

iQEzBAEBCAAdFiEEiDRK3jyVBE/RkymqpRQw84X1dt0FAlr6GmIACgkQpRQw84X1
dt1mqAf+OMPd1pmvZB5ZARjWgFZPtSCBGtHcq3W6ocsvX96VUQoRhuDVvEx2f0BG
2kBTpPM8S00qghNzfYM5fM3GDNhv8TmCfgpZv4Y1ghgtVQ9bNqMhbHAJHFCGJ2eB
Ta3nVmt4Lnhp4heiXJyRHZ1N8KStOiYPpFfAjM7Ywh5t5dVuBX5DCjMMLNos/vdL
e4g3t/ZE7+MyznA4R2OamsOdCacm4QoRed5KT+vshMiKi7w2lNp4LzdXsyIEmqSf
vOVpWkIexnqpLNNMEC28m6dbS6d+xHPeRVqn/q8L8Z1ypmYTUMWBzfE+fx3zot9I
cxHgEP7VbcZ/OsCR650aVOhZk+Q0Xw==
=I0MV
—–END PGP SIGNATURE—–

–a8Wt8u1KmwUX3Y2C–