6.2medium
Tor Arti's STUB circuits incorrectly have a length of 2
- Severity
- 6.2medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-9328-gcfq-p269GHSA-c96h-cxx6-rmg9RUSTSEC-2024-0339RUSTSEC-2024-0340TROVE-2024-003TROVE-2024-004
Description
In Tor Arti before 1.2.3, STUB circuits incorrectly have a length of 2 (with lite vanguards), aka TROVE-2024-003.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| arti (crates.io) | from 1.2.2 before 1.2.3 | GitHub Advisory Database |
| tor-circmgr (crates.io) | from 0.18.0 before 0.18.1 | GitHub Advisory Database, RustSec Advisory Database |
All scores
| CISA-ADP | 6.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
In Tor Arti before 1.2.3, STUB circuits incorrectly have a length of 2 (with lite vanguards), aka TROVE-2024-003.
GitHub Advisory Database
In Tor Arti before 1.2.3, circuits sometimes incorrectly have a length of 3 (with full vanguards), aka TROVE-2024-004.
RustSec Advisory Database
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
RustSec Advisory Database
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
NVD (es)
En Tor Arti anterior a 1.2.3, los circuitos STUB tenían incorrectamente una longitud de 2 (con vanguardias ligeras), también conocido como TROVE-2024-003.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-35312 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9328-gcfq-p269 changed 2024-11-04 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-c96h-cxx6-rmg9 changed 2025-03-27 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2024-0339 changed 2026-02-04 | CC0-1.0 |
| RustSec Advisory Database | RUSTSEC-2024-0340 changed 2026-02-04 | CC0-1.0 |
| NVD | CVE-2024-35312 changed 2026-06-17 | Public domain |