# CVE-2021-23521: Link Following

- Severity: Medium 5.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-31T10:50:34.104Z
- Modified: 2026-06-17T03:38:48.987Z
- Weaknesses: CWE-59
- Assigned by: snyk

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

(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:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388608> (exploit, patch, third-party-advisory)
- <https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f> (patch, third-party-advisory)

## Sources

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

---

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