CVE-2024-35313
Tor path lengths too short when "full Vanguards" configured
In Tor Arti before 1.2.3, circuits sometimes incorrectly have a length of 3 (with full vanguards), aka TROVE-2024-004.
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
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
7.3
In Tor Arti before 1.2.3, circuits sometimes incorrectly have a length of 3 (with full vanguards), aka TROVE-2024-004.
- Record
CVE-2024-35313- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-130
- Updated
- 2026-11-02
EUVDEUVD-2024-1571
7.3
In Tor Arti before 1.2.3, circuits sometimes incorrectly have a length of 3 (with full vanguards), aka TROVE-2024-004.
- Record
EUVD-2024-1571- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-c96h-cxx6-rmg9
5.9
Tor path lengths too short when "full Vanguards" configured
In Tor Arti before 1.2.3, circuits sometimes incorrectly have a length of 3 (with full vanguards), aka TROVE-2024-004.
- Record
GHSA-c96h-cxx6-rmg9- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-130, CWE-754
- Updated
- 2026-11-02
NVD
7.3
In Tor Arti before 1.2.3, circuits sometimes incorrectly have a length of 3 (with full vanguards), aka TROVE-2024-004.
- Record
CVE-2024-35313- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-130
- Updated
- 2026-11-02
OSVCVE-2024-35312
6.2
In Tor Arti before 1.2.3, STUB circuits incorrectly have a length of 2 (with lite vanguards), aka TROVE-2024-003.
- Record
CVE-2024-35312- CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.3
In Tor Arti before 1.2.3, circuits sometimes incorrectly have a length of 3 (with full vanguards), aka TROVE-2024-004.
- Record
CVE-2024-35313- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-9328-gcfq-p269
7.5
Tor Arti's STUB circuits incorrectly have a length of 2
In Tor Arti before 1.2.3, STUB circuits incorrectly have a length of 2 (with lite vanguards), aka TROVE-2024-003.
- Record
GHSA-9328-gcfq-p269- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-670, CWE-754
- Updated
- 2026-11-02
OSVGHSA-c96h-cxx6-rmg9
5.9
Tor path lengths too short when "full Vanguards" configured
In Tor Arti before 1.2.3, circuits sometimes incorrectly have a length of 3 (with full vanguards), aka TROVE-2024-004.
- Record
GHSA-c96h-cxx6-rmg9- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-130, CWE-754
- Updated
- 2026-11-02
OSVRUSTSEC-2024-0339 No score
Tor path lengths too short when "Vanguards lite" configured
Description
When building anonymizing circuits to or from an onion service with 'lite' vanguards (the default) enabled, the circuit manager code would build the circuits with one hop too few.
Impact
This makes users of this code more vulnerable to some kinds of traffic analysis when they run or visit onion services.
Vulnerable configurations and use cases
Arti configured with "vangaurds lite" is vulnerable; this is the default.
Only users who make connections to Onion Services (Tor Hidden Services) are affected. Note, however, that when used as a browser proxy, malicious web pages can typically make such connections.
Mitigation
Enable the "full vanguards" feature. This has some cost in terms of performance, reliability, and impact on the Tor Network.
(Arti configured with "full vanguards" has a similar bug, TROVE-2024-04, so this will not deliver the full incressed security of "full vanguards"; but the security level of affected versions of Arti configured with "full vanguards" still exceeds the intended security level of the "vanguards lite" configuration.)
Alternatively, preventing access to Tor Hidden Services will avoid the problem, with corresponding loss of functionality. This can be achieved in the Arti configuration file with:
[address_filter]
allow_onion_addrs = false
Resolution
Rebuild arti (or other affected applications)
with a fixed version of tor-circmgr:
0.18.1 or later.
The fixed tor-circmgr is on crates.io and available in
the upstream git repository
at signed tag arti-v1.2.3.
Note about older versions
Even though earlier versions are classified as "not affected", this is because in those versions the Vanguards feature is experimental, or absent. Downgrading worsens security, rather than improving it.
References
- Record
RUSTSEC-2024-0339- Updated
- 2026-11-02
OSVRUSTSEC-2024-0340 No score
Tor path lengths too short when "full Vanguards" configured
Description
When building anonymizing circuits to or from an onion service with full vanguards enabled, the circuit manager code would build the circuits with one hop too few.
Impact
This makes users of this code more vulnerable to some kinds of traffic analysis when they run or visit onion services.
Vulnerable configurations and use cases
Arti configured with "full vangaurds" is vulnerable.
Only users who make connections to Onion Services (Tor Hidden Services) are affected. Note, however, that when used as a browser proxy, malicious web pages can typically make such connections.
Mitigation
Preventing access to Tor Hidden Services will avoid the problem, with corresponding loss of functionality. This can be achieved in the Arti configuration file with:
[address_filter]
allow_onion_addrs = false
Changing the configuration (eg to turn off vanguards) reclassifies the behaviour as "as configured", but reduces security rather than improving it, so is not a mitigation.
Resolution
Rebuild arti (or other affected applications)
with a fixed version of tor-circmgr:
0.18.1 or later.
The fixed tor-circmgr is on crates.io and available in
the upstream git repository
at signed tag arti-v1.2.3.
Note about older versions
Even though earlier versions are classified as "not affected", this is because in those versions the Vanguards feature is experimental, or absent. Downgrading worsens security, rather than improving it.
References
- Record
RUSTSEC-2024-0340- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tor-circmgrcrates.io |
0.18.0 to 0.18.0 | 0.18.1 |
articrates.io |
1.2.2 to 1.2.2 | 1.2.3 |
articrates.io From an advisory covering 2 CVEs |
1.2.2 up to 1.2.3 | 1.2.3 |
tor-circmgrcrates.io From an advisory covering 2 CVEs |
0.18.0 up to 0.18.1 | 0.18.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-35313 is a high vulnerability (CVSS 7.3) in arti, published May 15, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 22nd percentile. Fixed in tor-circmgr 0.18.1.
References
gitlab.torproject.org/tpo/core/arti/-/issues/1400
nvd.nist.gov/vuln/detail/CVE-2024-35313
gitlab.torproject.org/tpo/core/arti/-/blob/main/CHANGELOG.md
gitlab.torproject.org/tpo/core/arti/-/commit/1a89d5c9659d799a84dd3ff00fae530f5c8ba280
gitlab.torproject.org/tpo/core/arti/-/issues/1409
gitlab.torproject.org/tpo/core/team/-/wikis/NetworkTeam/TROVE
Show 12 moreShow less
rustsec.org/advisories/RUSTSEC-2024-0339.html
rustsec.org/advisories/RUSTSEC-2024-0340.html
github.com/advisories/GHSA-c96h-cxx6-rmg9
github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35312.json
nvd.nist.gov/vuln/detail/CVE-2024-35312
github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35313.json
gitlab.torproject.org/tpo/core/arti
gitlab.torproject.org/tpo/core/arti/-/commit/da95138c14f762c706e46e89c6adfa46fcd5252c
gitlab.torproject.org/tpo/core/arti/-/merge_requests/2145
gitlab.torproject.org/tpo/core/arti/-/merge_requests/2154
gitlab.torproject.org/tpo/core/arti/-/merge_requests/2156
crates.io/crates/tor-circmgr