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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2022-01-31T10:50:34.104027Z

Updated: 2024-09-17T02:51:34.161Z

Reserved: 2021-01-08T00:00:00

Link: CVE-2021-23521

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-01-31T11:15:07.933

Modified: 2022-02-07T18:32:12.400

Link: CVE-2021-23521

cve-icon Redhat

No data.