Description
The SafeSocks option in Tor before 0.4.7.13 has a logic error in which the unsafe SOCKS4 protocol can be used but not the safe SOCKS4a protocol, aka TROVE-2022-002.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tor | 0.4.7.13-1 | — |
| Debian 13 | tor | 0.4.7.13-1 | — |
| Debian 12 | tor | 0.4.7.13-1 | — |
| Debian 11 | tor | 0.4.5.16-1 | DSA-5320-1 |
| Debian 10 | tor | 0.3.5.16-1+deb10u1 | DLA-3286-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | tor | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | tor | No fix yet | — |
| Ubuntu Pro 18.04 LTS | tor | No fix yet | — |
| Ubuntu Pro 16.04 LTS | tor | No fix yet | — |
| Ubuntu Pro 14.04 LTS | tor | No fix yet | — |
Advisories 3
- DSA-5320-1 tor - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3286-1 tor - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2023-0099 Tor: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jan 29, 2023
References
- https://gitlab.torproject.org/tpo/core/tor/-/raw/release-0.4.7/ReleaseNotes
- https://gitlab.torproject.org/tpo/core/tor/-/issues/40730
- https://gitlab.torproject.org/tpo/core/tor/-/commit/a282145b3634547ab84ccd959d0537c021ff7ffc
- DSA-5320 vendor-advisory
- FEDORA-2023-c290171664 vendor-advisory
- FEDORA-2023-1254a1fc28 vendor-advisory
- [debian-lts-announce] 20230128 [SECURITY] [DLA 3286-1] tor security update mailing-list
- GLSA-202305-11 vendor-advisory