Vulnerability Details : CVE-2021-23520
Potential exploit
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.
Vulnerability category: Directory traversal
Products affected by CVE-2021-23520
- cpe:2.3:a:juce:juce:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23520
1.16%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 85 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23520
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
1.8
|
3.6
|
Snyk |
CWE ids for CVE-2021-23520
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-23520
-
https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f
ZipFile: Add path checks to uncompressEntry() · juce-framework/JUCE@2e874e8 · GitHubPatch;Third Party Advisory
-
https://snyk.io/research/zip-slip-vulnerability
Zip Slip Vulnerability | SnykExploit;Technical Description;Third Party Advisory
-
https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388607
Arbitrary File Write via Archive Extraction (Zip Slip) in juce-framework/JUCE | CVE-2021-23520 | SnykExploit;Patch;Third Party Advisory
Jump to