# CVE-2021-23520: Arbitrary File Write via Archive Extraction (Zip Slip)

- Severity: Medium 5.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-01-31T10:56:15.581Z
- Modified: 2026-06-17T03:38:48.873Z
- Weaknesses: CWE-22
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- juce juce: before 6.1.5

## Every score

- snyk: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/research/zip-slip-vulnerability> (exploit, technical-description, third-party-advisory)
- <https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388607> (exploit, patch, third-party-advisory)
- <https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-23520](https://www.cve.org/CVERecord?id=CVE-2021-23520), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-23520](https://nvd.nist.gov/vuln/detail/CVE-2021-23520), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23520 · Whole record: https://cve.day/CVE-2021-23520.json · Rebuilt by cve.day 2026-11-25T22:58:06.727Z
