Vulnerability · Published Jan 31, 2022 · Assigned by snyk

CVE-2021-23521Link Following

Medium 5.5

In plain English

A medium-severity security flaw in the juce package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.5%top 54.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12juce6.1.5~ds0-1DEBIAN-CVE-2021-23521
Debian:13juce6.1.5~ds0-1DEBIAN-CVE-2021-23521
Debian:14juce6.1.5~ds0-1DEBIAN-CVE-2021-23521
Ubuntu:22.04:LTSjuceno fix listedUBUNTU-CVE-2021-23521
Ubuntu:24.04:LTSjuceno fix listedUBUNTU-CVE-2021-23521
Ubuntu:25.10juceno fix listedUBUNTU-CVE-2021-23521
Ubuntu:26.04:LTSjuceno fix listedUBUNTU-CVE-2021-23521
Ubuntu:26.10juceno fix listedUBUNTU-CVE-2021-23521

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References