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.
References
Link | Resource |
---|---|
https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388608 | Exploit Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: snyk
Published: 2022-01-31T00:00:00
Updated: 2022-01-31T10:50:34
Reserved: 2021-01-08T00:00:00
Link: CVE-2021-23521
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-01-31T11:15:07.933
Modified: 2022-02-07T18:32:12.400
Link: CVE-2021-23521
JSON object: View
Redhat Information
No data.
CWE