Lucene search

K
osvGoogleOSV:RUSTSEC-2024-0340
HistoryMay 15, 2024 - 12:00 p.m.

Tor path lengths too short when "full Vanguards" configured

2024-05-1512:00:00
Google
osv.dev
3
tor
circuits
vanguards
onion services
security
configuration
mitigation
resolution
arti
bugtracker
trove
vulnerability
update

6.4 Medium

AI Score

Confidence

High

0 Low

EPSS

Percentile

0.0%

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

  • arti#1400:
    the ticket in the Arti bugtracker.
  • TROVE
    Tor Project vulnerability database.
  • arti#1409:
    the similar bug with the vanguards lite feature.
CPENameOperatorVersion
tor-circmgrge0.18.0
tor-circmgrlt0.18.1

6.4 Medium

AI Score

Confidence

High

0 Low

EPSS

Percentile

0.0%