Link Following Affecting juce-framework/JUCE package, versions [,6.1.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (39th 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-UNMANAGED-JUCEFRAMEWORKJUCE-2388608
  • published30 Jan 2022
  • disclosed26 Jan 2022
  • creditSnyk Security Research Team

Introduced: 26 Jan 2022

CVE-2021-23521  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade juce-framework/JUCE to version 6.1.5 or higher.

Overview

juce-framework/JUCE is an open-source cross-platform C++ application framework for creating high quality desktop and mobile applications, including VST, VST3, AU, AUv3, RTAS and AAX audio plug-ins.

Affected versions of this package are vulnerable to Link Following. This vulnerability is triggered when a malicious archive is crafted with an entry containing a symbolic link. When extracted, the symbolic link is followed outside of the target dir allowing writing arbitrary files on the target host. In some cases, this can allow an attacker to execute arbitrary code. The vulnerable code is in the ZipFile::uncompressEntry function in juce_ZipFile.cpp and is executed when the archive is extracted upon calling uncompressTo() on a ZipFile object.

References

CVSS Scores

version 3.1