Skip to content
OpenAdvisories
Medium · 5.5 CVE-2021-23521 EUVD-2021-10488GHSA-cv9m-jw92-c3v3

Link Following

Published Jan 31, 2022 · Updated Sep 17, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 juce 6.1.5~ds0-1 —
Debian 13 juce 6.1.5~ds0-1 —
Debian 12 juce 6.1.5~ds0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 juce No fix yet —
Ubuntu 26.04 LTS juce No fix yet —
Ubuntu 25.10 juce No fix yet —
Ubuntu 24.04 LTS juce No fix yet —
Ubuntu 22.04 LTS juce No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS juce No fix yet —
Ubuntu 18.04 LTS juce No fix yet —
Ubuntu 16.04 LTS juce No fix yet —

References