CVE-2021-23521
Summary
| CVE | CVE-2021-23521 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-01-31 11:15:00 UTC |
| Updated | 2022-02-07 18:32:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-59
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Link Following in juce-framework/JUCE | CVE-2021-23521 | Snyk | MISC | snyk.io | |
| ZipFile: Add path checks to uncompressEntry() · juce-framework/JUCE@2e874e8 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Snyk Security Research Team
Legacy QID Mappings
- 182357 Debian Security Update for juce (CVE-2021-23521)