CVE-2021-23521

Severity CVSS v4.0:
Pending analysis
Type:
CWE-59 Link Following
Publication date:
31/01/2022
Last modified:
07/02/2022

Description

This affects the package juce-framework/JUCE before 6.1.5. 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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:juce:juce:*:*:*:*:*:*:*:* 6.1.5 (excluding)