Every CVE Search/ Get API key

CVE-2021-38385

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature...

7.5 HighFix available

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

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

1.69%Up 0.9 points since Aug 30, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

Record
CVE-2021-38385
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-617
Updated
2026-11-02
CVE List No score

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

Record
CVE-2021-38385
Updated
2026-11-02
EUVDEUVD-2021-24837 No score

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

Record
EUVD-2021-24837
Updated
2026-11-03
GitHub AdvisoriesGHSA-jh9r-c248-cvw6 7.5

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature...

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

Record
GHSA-jh9r-c248-cvw6
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-617
Updated
2026-11-02
OSVALPINE-CVE-2021-38385 7.5

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

Record
ALPINE-CVE-2021-38385
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

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

Record
CVE-2021-38385
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 8 moreShow less
OSVDEBIAN-CVE-2021-38385 7.5

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

Record
DEBIAN-CVE-2021-38385
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-38385 7.5

Tor before 0.3.5.16, 0.4.5.10, and 0.4.6.7 mishandles the relationship between batch-signature verification and single-signature verification, leading to a remote assertion failure, aka TROVE-2021-007.

Record
UBUNTU-CVE-2021-38385
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-0426 No score

Updated tor packages fix security vulnerability

Henry de Valence reported a flaw in the signature verification code in Tor, a connection-based low-latency anonymous communication system. A remote attacker can take advantage of this flaw to cause an assertion failure, resulting in denial of service.

Record
MGASA-2021-0426
Updated
2026-11-02
OSVopenSUSE-SU-2021:1169-1 No score

Security update for tor

This update for tor fixes the following issues:

tor 0.4.6.7:

  • Fix a DoS via a remotely triggerable assertion failure (boo#1189489, TROVE-2021-007, CVE-2021-38385)

tor 0.4.6.6:

  • Fix a compilation error with gcc 7, drop tor-0.4.6.5-gcc7.patch
  • Enable the deterministic RNG for unit tests that covers the address set bloomfilter-based API's

tor 0.4.6.5

  • Add controller support for creating v3 onion services with client auth
  • When voting on a relay with a Sybil-like appearance, add the Sybil flag when clearing out the other flags. This lets a relay operator know why their relay hasn't been included in the consensus
  • Relays now report how overloaded they are
  • Add a new DoS subsystem to control the rate of client connections for relays
  • Relays now publish statistics about v3 onions services
  • Improve circuit timeout algorithm for client performance
Record
openSUSE-SU-2021:1169-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:1178-1 No score

Security update for tor

This update for tor fixes the following issues:

tor 0.4.6.7:

  • Fix a DoS via a remotely triggerable assertion failure (boo#1189489, TROVE-2021-007, CVE-2021-38385)

tor 0.4.6.6:

  • Fix a compilation error with gcc 7, drop tor-0.4.6.5-gcc7.patch
  • Enable the deterministic RNG for unit tests that covers the address set bloomfilter-based API's

tor 0.4.6.5

  • Add controller support for creating v3 onion services with client auth
  • When voting on a relay with a Sybil-like appearance, add the Sybil flag when clearing out the other flags. This lets a relay operator know why their relay hasn't been included in the consensus
  • Relays now report how overloaded they are
  • Add a new DoS subsystem to control the rate of client connections for relays
  • Relays now publish statistics about v3 onions services
  • Improve circuit timeout algorithm for client performance

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

Record
openSUSE-SU-2021:1178-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:1192-1 No score

Security update for tor

This update for tor fixes the following issues:

tor 0.4.6.7:

  • Fix a DoS via a remotely triggerable assertion failure (boo#1189489, TROVE-2021-007, CVE-2021-38385)

tor 0.4.6.6:

  • Enable the deterministic RNG for unit tests that covers the address set bloomfilter-based API's

tor 0.4.6.5

  • Add controller support for creating v3 onion services with client auth
  • When voting on a relay with a Sybil-like appearance, add the Sybil flag when clearing out the other flags. This lets a relay operator know why their relay hasn't been included in the consensus
  • Relays now report how overloaded they are
  • Add a new DoS subsystem to control the rate of client connections for relays
  • Relays now publish statistics about v3 onions services
  • Improve circuit timeout algorithm for client performance
Record
openSUSE-SU-2021:1192-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.14
0.4.0.0 up to 0.4.5.10-r0
0.4.5.10-r0
tor
Alpine:v3.15
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Alpine:v3.16
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Alpine:v3.17
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Alpine:v3.18
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Alpine:v3.19
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Alpine:v3.20
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Alpine:v3.21
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Alpine:v3.22
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Alpine:v3.23
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
Show 19 moreShow less
Affected packages
PackageAffectedFixed
tor
Alpine:v3.24
0.4.0.0 up to 0.4.6.7-r0
0.4.6.7-r0
tor
Debian:12
before 0.4.5.10-1
0.4.5.10-1
tor
Debian:13
before 0.4.5.10-1
0.4.5.10-1
tor
Debian:14
before 0.4.5.10-1
0.4.5.10-1
tor
Debian:10
before 0.3.5.16-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.15-10.3.5.8-1
0.3.5.16-1
tor
Debian:11
before 0.4.5.10-1~deb11u1, plus listed versions
0.4.5.10-1~bpo10+10.4.5.9-1
0.4.5.10-1~deb11u1
tor
Mageia:8
before 0.3.5.16-1.mga8
0.3.5.16-1.mga8
tor
Ubuntu:Pro:16.04:LTS
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
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
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
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
before 0.4.6.7-lp152.2.15.1
0.4.6.7-lp152.2.15.1
tor
SUSE:Package Hub 15 SP2
before 0.4.6.7-bp152.2.15.1
0.4.6.7-bp152.2.15.1
tor
SUSE:Package Hub 15 SP3
before 0.4.6.7-bp153.2.6.1
0.4.6.7-bp153.2.6.1
tor
openSUSE:Leap 15.3
before 0.4.6.7-bp153.2.6.1
0.4.6.7-bp153.2.6.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-38385 is a high vulnerability (CVSS 7.5) in Torproject Tor, published August 19, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.69%, the 77th percentile. Fixed in tor 0.4.5.10-r0.

References

Show 39 moreShow less
MoveEnter Open