CVE-2021-34548 in Torproject Tor
An issue was discovered in Tor before 0.4.6.5, aka TROVE-2021-003. An attacker can forge RELAY_END or RELAY_RESOLVED to bypass the intended access control for ending a stream.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Torproject | Tor | < 0.3.5.15 ≥ 0.4.0.0, < 0.4.4.9 ≥ 0.4.5.0, < 0.4.5.9 ≥ 0.4.6.0, < 0.4.6.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in Tor before 0.4.6.5, aka TROVE-2021-003. An attacker can forge RELAY_END or RELAY_RESOLVED to bypass the intended access control for ending a stream.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-34548 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-282219-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2021-06-29 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-290: CWE-290
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-290
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-290
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-290
CAPEC-476 Signature Spoofing by Misrepresentation via CWE-290
CAPEC-667 Bluetooth Impersonation AttackS (BIAS) via CWE-290
Show all 10
CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness via CWE-290
CAPEC-473 Signature Spoof via CWE-290
CAPEC-21 Exploitation of Trusted Identifiers via CWE-290
CAPEC-22 Exploiting Trust in Client via CWE-290
CAPEC-94 Adversary in the Middle (AiTM) via CWE-290
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Tor versions before 0.4.6.5 allows attackers to forge RELAY_END or RELAY_RESOLVED messages, potentially bypassing intended access controls for ending a stream.
The attack involves an attacker intercepting or forging RELAY_END or RELAY_RESOLVED messages within the Tor network to manipulate the termination of streams, which could lead to unauthorized access or disruption of services.
Questions
What is CVE-2021-34548?
A vulnerability in Tor versions before 0.4.6.5 allows attackers to forge RELAY_END or RELAY_RESOLVED messages, potentially bypassing intended access controls for ending a stream.
What is the CVSS score for CVE-2021-34548?
CVE-2021-34548 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 2.6%.
Is CVE-2021-34548 actively exploited?
No confirmed active exploitation of CVE-2021-34548 as of 2026-09-25.
How do I remediate CVE-2021-34548?
Priority: HIGH. Advisory: https://blog.torproject.org/node/2041
What systems are affected by CVE-2021-34548?
CVE-2021-34548 affects Torproject Tor.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Torproject","product":"Tor","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.