CVEfocus › CVE database › CVE-2021-23521

CVE-2021-23521Link Following

CVSS 5.5 MediumEPSS 0.6% (higher than 40% of CVEs)Published 2022-01-31Updated 2024-09-17Assigner: snyk

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10juceFix pendingUBUNTU-CVE-2021-23521
Ubuntu 26.04juceFix pendingUBUNTU-CVE-2021-23521
Ubuntu 25.10juceWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-23521
Ubuntu 24.04juceFix pendingUBUNTU-CVE-2021-23521
Ubuntu 22.04juceFix pendingUBUNTU-CVE-2021-23521
Ubuntu 20.04juceWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-23521
Ubuntu 18.04juceWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-23521
Ubuntu 16.04juceWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-23521
Debian 14juceFixed6.1.5~ds0-1DEBIAN-CVE-2021-23521
Debian 13juceFixed6.1.5~ds0-1DEBIAN-CVE-2021-23521
Debian 12juceFixed6.1.5~ds0-1DEBIAN-CVE-2021-23521

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.