CVE-2021-34550
NixOS vulnerability analysis and mitigation

Overview

An out-of-bounds memory access vulnerability was discovered in Tor before version 0.4.6.5, identified as CVE-2021-34550 (also known as TROVE-2021-006). The vulnerability affects the v3 onion service descriptor parsing functionality, which could allow attackers to cause client crashes through crafted onion service descriptors (Tor Blog, NVD).

Technical details

The vulnerability exists in the desc_decode_encrypted_v3 function where the R3_INTRO_AUTH_REQUIRED token handling contains a flaw. The function assumes that the token always has an argument at index 0, but the ARGS macro indicates that the token can have any number of arguments (including zero). This assumption can lead to an out-of-bounds memory access when processing maliciously crafted descriptors (GitLab Issue).

Impact

When exploited, this vulnerability allows an attacker to crash Tor clients attempting to visit a maliciously crafted onion service. The impact is primarily a denial of service condition, though there is a possibility of a very limited information leak (Tor Blog, GitLab Issue).

Exploitability

The vulnerability can be exploited by creating a malicious onion service descriptor that triggers the out-of-bounds read condition. While the out-of-bounds pointer value can be controlled, it was assessed that the issue is extremely unlikely to be used for anything beyond causing denial of service (GitLab Issue).

Mitigation and workarounds

The vulnerability was fixed in Tor version 0.4.6.5. Users and administrators are advised to upgrade to this version or later. For specific distributions, such as Gentoo, users should upgrade to tor-0.4.6.5 or later versions (Gentoo Security).

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-18713HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18669HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18235HIGH8.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-17420MEDIUM6.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18250MEDIUM5
  • NixOS logoNixOS
  • i
NoNoAug 12, 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