CVE-2021-23521
JSON

5.5medium

Link Following

Severity
5.5medium CVSS:3.1 by snyk
Exploit likelihood
0.56% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
juce jucebefore 6.1.5NVD

All scores

snyk5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Esto afecta al paquete juce-framework/JUCE versiones anteriores a 6.1.5. Esta vulnerabilidad es desencadenada cuando es diseñado un archivo malicioso con una entrada que contiene un enlace simbólico. Cuando es extraído, el enlace simbólico es seguido fuera del dir de destino permitiendo una escritura de archivos arbitrarios en el host de destino. En algunos casos, esto puede permitir a un atacante ejecutar código arbitrario. El código vulnerable es encontrado en la función ZipFile::uncompressEntry en el archivo juce_ZipFile.cpp y es ejecutado cuando es extraído el archivo al llamar a uncompressTo() en un objeto ZipFile

References

Sources

SourceRecordLicence
CVE ListCVE-2021-23521 changed 2024-09-17CVE Terms of Use
NVDCVE-2021-23521 changed 2026-06-17Public domain