CVE-2021-23521

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

Configuration 1 (hide)

cpe:2.3:a:juce:juce:*:*:*:*:*:*:*:*

History

07 Feb 2022, 18:32

Type Values Removed Values Added
CPE cpe:2.3:a:juce:juce:*:*:*:*:*:*:*:*
References (MISC) https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388608 - (MISC) https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388608 - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f - (MISC) https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f - Patch, Third Party Advisory
CWE CWE-59
CVSS v2 : unknown
v3 : unknown
v2 : 4.6
v3 : 7.8

31 Jan 2022, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-31 11:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-23521

Mitre link : CVE-2021-23521

CVE.ORG link : CVE-2021-23521


JSON object : View

Products Affected

juce

  • juce
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')