CVE-2021-23521
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-23521 is a link following vulnerability discovered in JUCE framework, an open-source cross-platform C++ application framework. The vulnerability was disclosed on January 26, 2022, and affects versions prior to 6.1.5. The issue occurs when processing maliciously crafted archives containing symbolic links (Snyk).

Technical details

The vulnerability is triggered when a malicious archive is crafted with an entry containing a symbolic link. The vulnerable code exists in the ZipFile::uncompressEntry function in juce_ZipFile.cpp and is executed when the archive is extracted upon calling uncompressTo() on a ZipFile object. When extracted, the symbolic link is followed outside of the target directory, allowing writing of arbitrary files on the target host. The vulnerability has been assigned a CVSS base score of 7.8 (high severity) by NVD and 5.5 (medium severity) by Snyk (Snyk).

Impact

When successfully exploited, this vulnerability can lead to a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. In some cases, this can allow an attacker to execute arbitrary code on the target system (Snyk).

Exploitability

The vulnerability requires local access to exploit, with low attack complexity. An attacker needs basic user privileges to execute the attack, and no user interaction is required for exploitation. The attack is consistently reproducible, meaning an attacker can expect repeatable success when targeting the vulnerable component (Snyk).

Mitigation and workarounds

The recommended mitigation is to upgrade JUCE framework to version 6.1.5 or higher, which contains the security fix for this vulnerability (Snyk).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management