Every CVE Search/ Get API key

CVE-2021-34548

An issue was discovered in Tor before 0.4.6.5, aka TROVE-2021-003. An attacker can forge...

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.60%Up 2.0 points since Jun 30, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2021-34548
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-290
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-34548
Updated
2026-11-02
EUVDEUVD-2021-21200 No score

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.

Record
EUVD-2021-21200
Updated
2026-11-03
GitHub AdvisoriesGHSA-5hfr-xvmr-9cjw 7.5

An issue was discovered in Tor before 0.4.6.5, aka TROVE-2021-003. An attacker can forge...

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.

Record
GHSA-5hfr-xvmr-9cjw
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-863
Updated
2026-11-02
OSVALPINE-CVE-2021-34548 7.5

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.

Record
ALPINE-CVE-2021-34548
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV 7.5

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.

Record
CVE-2021-34548
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2021-34548 7.5

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.

Record
DEBIAN-CVE-2021-34548
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-34548 7.5

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.

Record
UBUNTU-CVE-2021-34548
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2021-0293 No score

Updated tor package fixes security vulnerabilities

Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell on half-closed streams. Previously, clients failed to validate which hop sent these cells: this would allow a relay on a circuit to end a stream that wasn't actually built with it (CVE-2021-34548).

hashtable-based CPU denial-of-service attack against relays (CVE-2021-34549).

out-of-bounds memory access in v3 onion service descriptor parsing (CVE-2021-34550).

See also upstream release notes for included other bugfixes.

This package also fixes an error in tor package's un-install script (mga#29158).

Record
MGASA-2021-0293
Updated
2026-11-02
OSVopenSUSE-SU-2021:0926-1 No score

Security update for tor

This update for tor fixes the following issues:

tor 0.4.5.9

  • Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell (CVE-2021-34548, boo#1187322)
  • Detect more failure conditions from the OpenSSL RNG code (boo#1187323)
  • Resist a hashtable-based CPU denial-of-service attack against relays (CVE-2021-34549, boo#1187324)
  • Fix an out-of-bounds memory access in v3 onion service descriptor parsing (CVE-2021-34550, boo#1187325)

tor 0.4.5.8

  • Fix logging issue due to systemd picking up stdout - boo#1181244 Continue to log notices to syslog by default.
Record
openSUSE-SU-2021:0926-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:0941-1 No score

Security update for tor

This update for tor fixes the following issues:

tor 0.4.5.9

  • Don't allow relays to spoof RELAY_END or RELAY_RESOLVED cell (CVE-2021-34548, boo#1187322)
  • Detect more failure conditions from the OpenSSL RNG code (boo#1187323)
  • Resist a hashtable-based CPU denial-of-service attack against relays (CVE-2021-34549, boo#1187324)
  • Fix an out-of-bounds memory access in v3 onion service descriptor parsing (CVE-2021-34550, boo#1187325)

tor 0.4.5.8

  • Fix logging issue due to systemd picking up stdout - boo#1181244 Continue to log notices to syslog by default.

This update was imported from the openSUSE:Leap:15.2:Update update project.

Record
openSUSE-SU-2021:0941-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11469-1 No score

tor-0.4.6.7-2.2 on GA media

These are all security issues fixed in the tor-0.4.6.7-2.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11469-1
Updated
2026-11-02
OSVUSN-5036-1 No score

tor vulnerabilities

It was discovered that Tor incorrectly handled certain memory operations. A remote attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 ESM. (CVE-2019-8955)

It was discovered that Tor did not properly handle the input length to dump_desc() function. A remote attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2021-28089)

It was discovered that Tor did not properly sanitize the relay nickname in dirvote_add_signatures_to_pending_consensus() function. An attacker could possibly use this issue to cause an assertion failure and then cause a denial of service. (CVE-2021-28090)

It was discovered that Tor did not properly validate the layer hint on half-open streams. A remote attacker could possibly use this issue to bypass the access control, leading to remote code execution. This issue only affected Ubuntu 20.04 ESM. (CVE-2021-34548)

It was discovered that Tor was using an insecure hash function. A remote attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2021-34549)

It was discovered that Tor did not properly manage memory under certain circumstances. If a user were tricked into opening a specially crafted request, a remote attacker could possibly use this issue to cause a crash, resulting in a denial of service, or possibly reading sensitive data. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2021-34550)

It was discovered that Tor mishandles the relationship between batch-signature verification and single-signature verification. An attacker could possibly use this issue to cause an assertion failure and then cause a denial of service. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2021-38385)

Record
USN-5036-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tor
Alpine:v3.11
0.4.0.0 up to 0.4.4.9-r0
0.4.4.9-r0
tor
Alpine:v3.12
0.4.0.0 up to 0.4.4.9-r0
0.4.4.9-r0
tor
Debian:12
before 0.4.5.9-1
0.4.5.9-1
tor
Debian:13
before 0.4.5.9-1
0.4.5.9-1
tor
Debian:14
before 0.4.5.9-1
0.4.5.9-1
tor
Debian:10
From an advisory covering 3 CVEs
before 0.3.5.15-1, plus listed versions
0.3.5.10-10.3.5.10-1~bpo9+10.3.5.12-10.3.5.14-10.3.5.8-1
0.3.5.15-1
tor
Mageia:7
From an advisory covering 3 CVEs
before 0.3.5.15-1.1.mga7
0.3.5.15-1.1.mga7
tor
Mageia:8
From an advisory covering 3 CVEs
before 0.3.5.15-1.1.mga8
0.3.5.15-1.1.mga8
tor
Ubuntu:Pro:20.04:LTS
before 0.4.2.7-1ubuntu0.1~esm1, plus listed versions
0.4.1.5-10.4.1.5-1build10.4.1.6-10.4.2.5-10.4.2.6-10.4.2.7-1
0.4.2.7-1ubuntu0.1~esm1
tor
Ubuntu:Pro:14.04:LTS
From an advisory covering 7 CVEs
before 0.2.4.27-1ubuntu0.1+esm2, plus listed versions
0.2.3.25-10.2.4.19-10.2.4.20-10.2.4.27-1build0.14.04.10.2.4.27-1ubuntu0.10.2.4.27-1ubuntu0.1+esm1
0.2.4.27-1ubuntu0.1+esm2
Show 6 moreShow less
Affected packages
PackageAffectedFixed
tor
Ubuntu:Pro:16.04:LTS
From an advisory covering 7 CVEs
before 0.2.9.14-1ubuntu1~16.04.3+esm1, plus listed versions
0.2.6.10-1ubuntu20.2.7.6-1ubuntu10.2.9.11-1ubuntu1~16.04.10.2.9.14-1ubuntu1~16.04.10.2.9.14-1ubuntu1~16.04.20.2.9.14-1ubuntu1~16.04.3
0.2.9.14-1ubuntu1~16.04.3+esm1
tor
Ubuntu:Pro:18.04:LTS
From an advisory covering 7 CVEs
before 0.3.2.10-1ubuntu0.2~esm2, plus listed versions
0.3.0.10-10.3.1.8-20.3.1.9-10.3.2.9-10.3.2.9-1build10.3.2.10-10.3.2.10-1ubuntu0.10.3.2.10-1ubuntu0.2~esm1
0.3.2.10-1ubuntu0.2~esm2
tor
Ubuntu:Pro:20.04:LTS
From an advisory covering 7 CVEs
before 0.4.2.7-1ubuntu0.1~esm1, plus listed versions
0.4.1.5-10.4.1.5-1build10.4.1.6-10.4.2.5-10.4.2.6-10.4.2.7-1
0.4.2.7-1ubuntu0.1~esm1
tor
openSUSE:Leap 15.2
From an advisory covering 3 CVEs
before 0.4.5.9-lp152.2.12.1
0.4.5.9-lp152.2.12.1
tor
SUSE:Package Hub 15 SP2
From an advisory covering 3 CVEs
before 0.4.5.9-bp152.2.12.1
0.4.5.9-bp152.2.12.1
tor
openSUSE:Tumbleweed
From an advisory covering 22 CVEs
before 0.4.6.7-2.2
0.4.6.7-2.2

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-34548 is a high vulnerability (CVSS 7.5) in Torproject Tor, published June 18, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.60%, the 85th percentile. Fixed in tor 0.4.4.9-r0.

References

Show 46 moreShow less
MoveEnter Open