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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | juce | 6.1.5~ds0-1 | DEBIAN-CVE-2021-23521 |
| Debian:13 | juce | 6.1.5~ds0-1 | DEBIAN-CVE-2021-23521 |
| Debian:14 | juce | 6.1.5~ds0-1 | DEBIAN-CVE-2021-23521 |
| Ubuntu:22.04:LTS | juce | no fix listed | UBUNTU-CVE-2021-23521 |
| Ubuntu:24.04:LTS | juce | no fix listed | UBUNTU-CVE-2021-23521 |
| Ubuntu:25.10 | juce | no fix listed | UBUNTU-CVE-2021-23521 |
| Ubuntu:26.04:LTS | juce | no fix listed | UBUNTU-CVE-2021-23521 |
| Ubuntu:26.10 | juce | no fix listed | UBUNTU-CVE-2021-23521 |