CVE-2021-23521Link Following
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | juce | Fix pending | UBUNTU-CVE-2021-23521 | |
| Ubuntu 26.04 | juce | Fix pending | UBUNTU-CVE-2021-23521 | |
| Ubuntu 25.10 | juce | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23521 | |
| Ubuntu 24.04 | juce | Fix pending | UBUNTU-CVE-2021-23521 | |
| Ubuntu 22.04 | juce | Fix pending | UBUNTU-CVE-2021-23521 | |
| Ubuntu 20.04 | juce | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23521 | |
| Ubuntu 18.04 | juce | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23521 | |
| Ubuntu 16.04 | juce | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-23521 | |
| Debian 14 | juce | Fixed | 6.1.5~ds0-1 | DEBIAN-CVE-2021-23521 |
| Debian 13 | juce | Fixed | 6.1.5~ds0-1 | DEBIAN-CVE-2021-23521 |
| Debian 12 | juce | Fixed | 6.1.5~ds0-1 | DEBIAN-CVE-2021-23521 |
References
- https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f
- https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388608
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.