Vulnerability · Published Jan 31, 2022 · Assigned by snyk
CVE-2021-23520Arbitrary File Write via Archive Extraction (Zip Slip)
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 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)1.1%top 34.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The package juce-framework/juce before 6.1.5 are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) via the ZipFile::uncompressEntry function in juce_ZipFile.cpp. This vulnerability is triggered 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-23520 |
| Debian:13 | juce | 6.1.5~ds0-1 | DEBIAN-CVE-2021-23520 |
| Debian:14 | juce | 6.1.5~ds0-1 | DEBIAN-CVE-2021-23520 |
| Ubuntu:22.04:LTS | juce | no fix listed | UBUNTU-CVE-2021-23520 |
| Ubuntu:24.04:LTS | juce | no fix listed | UBUNTU-CVE-2021-23520 |
| Ubuntu:25.10 | juce | no fix listed | UBUNTU-CVE-2021-23520 |
| Ubuntu:26.04:LTS | juce | no fix listed | UBUNTU-CVE-2021-23520 |
| Ubuntu:26.10 | juce | no fix listed | UBUNTU-CVE-2021-23520 |
Affected products (as reported)
References
- https://snyk.io/research/zip-slip-vulnerability x_refsource_MISC
- https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388607 x_refsource_MISC
- https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f x_refsource_MISC