Arbitrary file upload in TagLib - CVE-2017-12678

 

Arbitrary file upload in TagLib - CVE-2017-12678

Published: August 8, 2017 / Updated: August 3, 2020


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

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

In TagLib 1.11.1, the rebuildAggregateFrames function in id3v2framefactory.cpp has a pointer to cast vulnerability, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted audio file.


Affected software

TagLib
taglib (Alpine package)
mingw-taglib
taglib
Fedora

How to mitigate CVE-2017-12678

Install update from vendor's website.

taglib (Alpine package) - update to 1.11.1-r2
mingw-taglib - update to 1.11.1-4.fc27
taglib - addressed in versions 1.11.1-5.fc25, 1.11.1-5.fc26

External References

Related Security Bulletins