Format string error in mpv - CVE-2021-30145

 

Format string error in mpv - CVE-2021-30145

Published: September 10, 2024


Vulnerability identifier: #VU96995
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-30145
CWE-ID: CWE-134
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a format string error when parsing m3u playlist files. A remote attacker can supply a specially crafted file that contains format string specifiers and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

mpv
Gentoo Linux
openEuler
mpv
mpv-debuginfo
mpv-libs
mpv-libs-devel
mpv-debugsource
media-video/mpv

How to mitigate CVE-2021-30145

Install updates from vendor's website.

mpv - update to 0.33.1
mpv - update to 0.32.0-3
mpv-debuginfo - update to 0.32.0-3
mpv-libs - update to 0.32.0-3
mpv-libs-devel - update to 0.32.0-3
mpv-debugsource - update to 0.32.0-3
media-video/mpv - update to 0.33.1

External References

Related Security Bulletins