CVE-2021-23521

MEDIUM

juce < 6.1.5 - Arbitrary File Write via Symbolic Link in Archive Extraction

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388608

Scores

CVSS v3 5.5
EPSS 0.0051
EPSS Percentile 39.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-59
Status published
Products (1)
juce/juce < 6.1.5
Published Jan 31, 2022
Tracked Since Feb 18, 2026