{"id":"UBUNTU-CVE-2021-23521","details":"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.","modified":"2026-05-20T16:04:48.711057280Z","published":"2022-01-31T11:15:00Z","upstream":["CVE-2021-23521"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23521"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-UNMANAGED-JUCEFRAMEWORKJUCE-2388608"},{"type":"REPORT","url":"https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23521"}],"affected":[{"package":{"name":"juce","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/juce?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+repack-3"],"ecosystem_specific":{"binaries":[{"binary_name":"introjucer","binary_version":"4.1.0+repack-3"},{"binary_name":"juce-modules-source","binary_version":"4.1.0+repack-3"},{"binary_name":"libjuce0","binary_version":"4.1.0+repack-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23521.json"}},{"package":{"name":"juce","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/juce?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.0~repack-1","5.2.0~repack-1","5.2.0~repack-2","5.2.0~repack-3","5.2.1~repack-1","5.2.1~repack-2"],"ecosystem_specific":{"binaries":[{"binary_name":"juce-modules-source","binary_version":"5.2.1~repack-2"},{"binary_name":"juce-tools","binary_version":"5.2.1~repack-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23521.json"}},{"package":{"name":"juce","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/juce?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.4~repack0-3","5.4.5~ds0-1","5.4.6~ds0-1","5.4.7~ds0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"juce-modules-source","binary_version":"5.4.7~ds0-1"},{"binary_version":"5.4.7~ds0-1","binary_name":"juce-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23521.json"}},{"package":{"name":"juce","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/juce?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.7~ds0-2","6.1.3~ds0-1","6.1.4~ds0-1","6.1.5~ds0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.1.5~ds0-1","binary_name":"juce-modules-source"},{"binary_name":"juce-modules-source-data","binary_version":"6.1.5~ds0-1"},{"binary_name":"juce-tools","binary_version":"6.1.5~ds0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23521.json"}},{"package":{"name":"juce","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/juce?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.5+ds-1","7.0.5+ds-1build1","7.0.5+ds-1build2","7.0.5+ds-2"],"ecosystem_specific":{"binaries":[{"binary_name":"juce-modules-source","binary_version":"7.0.5+ds-2"},{"binary_version":"7.0.5+ds-2","binary_name":"juce-modules-source-data"},{"binary_name":"juce-tools","binary_version":"7.0.5+ds-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23521.json"}},{"package":{"name":"juce","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/juce?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.0.6+ds-2"],"ecosystem_specific":{"binaries":[{"binary_version":"8.0.6+ds-2","binary_name":"juce-modules-source"},{"binary_name":"juce-modules-source-data","binary_version":"8.0.6+ds-2"},{"binary_name":"juce-tools","binary_version":"8.0.6+ds-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23521.json"}},{"package":{"name":"juce","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/juce?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.0.6+ds-2","8.0.12+ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"juce-modules-source","binary_version":"8.0.12+ds-1"},{"binary_name":"juce-modules-source-data","binary_version":"8.0.12+ds-1"},{"binary_name":"juce-tools","binary_version":"8.0.12+ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23521.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}