Skip to content

CVE-2021-23521 Link Following

HighCVSS 7.8 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

12 packages: 4 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/juce(Ubuntu 16.04) = 4.1.0+repack-3; All versions No fix listed No fix yet
ubuntu/juce(Ubuntu 18.04) = 4.3.0~repack-1; = 5.2.0~repack-1; = 5.2.0~repack-2; = 5.2.0~repack-3 +3 more No fix listed No fix yet
ubuntu/juce(Ubuntu 20.04) = 5.4.4~repack0-3; = 5.4.5~ds0-1; = 5.4.6~ds0-1; = 5.4.7~ds0-1 +1 more No fix listed No fix yet
ubuntu/juce(Ubuntu 22.04) = 5.4.7~ds0-2; = 6.1.3~ds0-1; = 6.1.4~ds0-1; = 6.1.5~ds0-1 +1 more No fix listed No fix yet
ubuntu/juce(Ubuntu 24.04) = 7.0.5+ds-1; = 7.0.5+ds-1build1; = 7.0.5+ds-1build2; = 7.0.5+ds-2 +1 more No fix listed No fix yet
ubuntu/juce(Ubuntu 25.10) = 8.0.6+ds-2; All versions No fix listed No fix yet
ubuntu/juce(Ubuntu 26.04) = 8.0.6+ds-2; = 8.0.12+ds-1; All versions No fix listed No fix yet
ubuntu/juce(Ubuntu 26.10) = 8.0.12+ds-1; = 8.0.13+ds-1; = 8.0.14+ds-1; All versions No fix listed No fix yet
debian/juce(Debian 12) < 6.1.5~ds0-1 6.1.5~ds0-1 Fixed
debian/juce(Debian 13) < 6.1.5~ds0-1 6.1.5~ds0-1 Fixed
debian/juce(Debian 14) < 6.1.5~ds0-1 6.1.5~ds0-1 Fixed
juce < 6.1.5 6.1.5 Fixed

Affected products

ProductAffected versionsFixed in
debian/juce(Debian:12) < 6.1.5~ds0-1 6.1.5~ds0-1
debian/juce(Debian:13) < 6.1.5~ds0-1 6.1.5~ds0-1
debian/juce(Debian:14) < 6.1.5~ds0-1 6.1.5~ds0-1
ubuntu/juce(Ubuntu:22.04) All versions No fix listed
juce < 6.1.5 6.1.5
ubuntu/juce(Ubuntu:24.04) All versions No fix listed
ubuntu/juce(Ubuntu:26.04) All versions No fix listed
ubuntu/juce(Ubuntu:26.10) All versions No fix listed
ubuntu/juce(Ubuntu:16.04) All versions No fix listed
ubuntu/juce(Ubuntu:16.04) = 4.1.0+repack-3 No fix listed
ubuntu/juce(Ubuntu:18.04) All versions No fix listed
ubuntu/juce(Ubuntu:18.04) = 4.3.0~repack-1 No fix listed
ubuntu/juce(Ubuntu:18.04) = 5.2.0~repack-1 No fix listed
ubuntu/juce(Ubuntu:18.04) = 5.2.0~repack-2 No fix listed
ubuntu/juce(Ubuntu:18.04) = 5.2.0~repack-3 No fix listed
ubuntu/juce(Ubuntu:18.04) = 5.2.1~repack-1 No fix listed
ubuntu/juce(Ubuntu:18.04) = 5.2.1~repack-2 No fix listed
ubuntu/juce(Ubuntu:20.04) All versions No fix listed
ubuntu/juce(Ubuntu:20.04) = 5.4.4~repack0-3 No fix listed
ubuntu/juce(Ubuntu:20.04) = 5.4.5~ds0-1 No fix listed
ubuntu/juce(Ubuntu:20.04) = 5.4.6~ds0-1 No fix listed
ubuntu/juce(Ubuntu:20.04) = 5.4.7~ds0-1 No fix listed
ubuntu/juce(Ubuntu:22.04) = 5.4.7~ds0-2 No fix listed
ubuntu/juce(Ubuntu:22.04) = 6.1.3~ds0-1 No fix listed
ubuntu/juce(Ubuntu:22.04) = 6.1.4~ds0-1 No fix listed
Show 12 more
ProductAffected versionsFixed in
ubuntu/juce(Ubuntu:22.04) = 6.1.5~ds0-1 No fix listed
ubuntu/juce(Ubuntu:24.04) = 7.0.5+ds-1 No fix listed
ubuntu/juce(Ubuntu:24.04) = 7.0.5+ds-1build1 No fix listed
ubuntu/juce(Ubuntu:24.04) = 7.0.5+ds-1build2 No fix listed
ubuntu/juce(Ubuntu:24.04) = 7.0.5+ds-2 No fix listed
ubuntu/juce(Ubuntu:25.10) All versions No fix listed
ubuntu/juce(Ubuntu:25.10) = 8.0.6+ds-2 No fix listed
ubuntu/juce(Ubuntu:26.10) = 8.0.12+ds-1 No fix listed
ubuntu/juce(Ubuntu:26.10) = 8.0.13+ds-1 No fix listed
ubuntu/juce(Ubuntu:26.10) = 8.0.14+ds-1 No fix listed
ubuntu/juce(Ubuntu:26.04) = 8.0.6+ds-2 No fix listed
ubuntu/juce(Ubuntu:26.04) = 8.0.12+ds-1 No fix listed

References