{"id":"CVE-2023-23589","aliases":["DEBIAN-CVE-2023-23589","DLA-3286-1","DSA-5320-1","EUVD-2023-27689","GHSA-6wqq-m34g-chqp","MGASA-2023-0017","UBUNTU-CVE-2023-23589"],"status":"published","title":"The SafeSocks option in Tor before 0.4.7.13 has a logic error in which the unsafe SOCKS4 protocol...","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00856,"percentile":0.58815,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-693"],"published":"2023-01-14T00:00:00Z","modified":"2026-10-28T10:36:18Z","fixes":[{"ecosystem":"Debian:12","package":"tor","fixed_in":["0.4.7.13-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tor","fixed_in":["0.4.7.13-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tor","fixed_in":["0.4.7.13-1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"tor","fixed_in":["0.3.5.16-1+deb10u1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"tor","fixed_in":["0.4.5.16-1"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"tor","fixed_in":["0.4.5.16-1.mga8"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.7.13-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.7.13-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.7.13-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.5.16-1+deb10u1"}]}],"versions":["0.3.5.10-1","0.3.5.10-1~bpo9+1","0.3.5.12-1","0.3.5.14-1","0.3.5.15-1","0.3.5.16-1","0.3.5.8-1"]},{"source":"osv","ecosystem":"Debian:11","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.5.16-1"}]}],"versions":["0.4.5.10-1","0.4.5.10-1~bpo10+1","0.4.5.10-1~deb11u1","0.4.5.9-1"]},{"source":"osv","ecosystem":"Mageia:8","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.5.16-1.mga8"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.3.25-1","0.2.4.19-1","0.2.4.20-1","0.2.4.27-1build0.14.04.1","0.2.4.27-1ubuntu0.1","0.2.4.27-1ubuntu0.1+esm1","0.2.4.27-1ubuntu0.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.6.10-1ubuntu2","0.2.7.6-1ubuntu1","0.2.9.11-1ubuntu1~16.04.1","0.2.9.14-1ubuntu1~16.04.1","0.2.9.14-1ubuntu1~16.04.2","0.2.9.14-1ubuntu1~16.04.3","0.2.9.14-1ubuntu1~16.04.3+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0.10-1","0.3.1.8-2","0.3.1.9-1","0.3.2.9-1","0.3.2.9-1build1","0.3.2.10-1","0.3.2.10-1ubuntu0.1","0.3.2.10-1ubuntu0.2~esm1","0.3.2.10-1ubuntu0.2~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1.5-1","0.4.1.5-1build1","0.4.1.6-1","0.4.2.5-1","0.4.2.6-1","0.4.2.7-1","0.4.2.7-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"tor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.5.9-1","0.4.6.8-1","0.4.6.8-1build1","0.4.6.9-1","0.4.6.10-1","0.4.9.11-0ubuntu0.22.04.1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"torproject","product":"tor"}],"references":[{"url":"https://gitlab.torproject.org/tpo/core/tor/-/raw/release-0.4.7/ReleaseNotes","tags":["x_transferred","Release Notes","Vendor Advisory","web","report"]},{"url":"https://gitlab.torproject.org/tpo/core/tor/-/issues/40730","tags":["x_transferred","Exploit","Issue Tracking","Patch","Vendor Advisory","report"]},{"url":"https://gitlab.torproject.org/tpo/core/tor/-/commit/a282145b3634547ab84ccd959d0537c021ff7ffc","tags":["x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://www.debian.org/security/2023/dsa-5320","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZMY4FWXYKP3MDXTZ3EJ7XJVGBCKBK2XL/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IYOLTP6HQO2HPXUYKOR7P5YYYN7CINQQ/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00026.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"https://security.gentoo.org/glsa/202305-11","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23589","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IYOLTP6HQO2HPXUYKOR7P5YYYN7CINQQ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZMY4FWXYKP3MDXTZ3EJ7XJVGBCKBK2XL"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYOLTP6HQO2HPXUYKOR7P5YYYN7CINQQ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZMY4FWXYKP3MDXTZ3EJ7XJVGBCKBK2XL"},{"url":"https://github.com/advisories/GHSA-6wqq-m34g-chqp"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23589.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-23589","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0017.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31414","tags":["report"]},{"url":"https://forum.torproject.net/t/stable-release-0-4-5-16-and-0-4-7-13/6216","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2023-23589","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-23589","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-23589","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.","status":"published","published":"2023-01-14T00:00:00Z","modified":"2025-04-07T18:14:11.104Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-693"],"updated_at":"2026-11-02T14:35:21.232549Z"}],"euvd":[{"id":"EUVD-2023-27689","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.","status":"published","published":"2023-01-14T00:00:00Z","modified":"2025-04-07T18:14:11Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:41.16494Z"}],"ghsa":[{"id":"GHSA-6wqq-m34g-chqp","title":"The SafeSocks option in Tor before 0.4.7.13 has a logic error in which the unsafe SOCKS4 protocol...","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.","status":"published","published":"2023-01-14T03:30:22Z","modified":"2025-04-07T21:31:49Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-693"],"updated_at":"2026-11-02T15:00:50.013262Z"}],"nvd":[{"id":"CVE-2023-23589","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.","status":"published","published":"2023-01-14T01:15:15.627Z","modified":"2026-06-17T05:37:31.25Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-693"],"updated_at":"2026-11-02T14:07:45.305824Z"}],"osv":[{"id":"CVE-2023-23589","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.","status":"published","published":"2023-01-14T00:00:00Z","modified":"2026-10-28T10:36:18.653194229Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:30.709518Z"},{"id":"DEBIAN-CVE-2023-23589","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.","status":"published","published":"2023-01-14T01:15:15.627Z","modified":"2026-10-26T18:00:32.584087313Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:39.369204Z"},{"id":"UBUNTU-CVE-2023-23589","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.","status":"published","published":"2023-01-14T01:15:00Z","modified":"2026-08-26T17:30:06.915412064Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:20.198616Z"},{"id":"DLA-3286-1","title":"tor - security update","status":"published","published":"2023-01-28T00:00:00Z","modified":"2026-03-09T01:22:44.251501Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"DSA-5320-1","title":"tor - security update","status":"published","published":"2023-01-16T00:00:00Z","modified":"2026-03-09T02:10:13.571597Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"MGASA-2023-0017","title":"Updated tor packages fix security vulnerability","description":"SafeSocks option in Tor before 0.4.7.13 has a logic error in which the\nunsafe SOCKS4 protocol can be used but not the safe SOCKS4a protocol, aka\nTROVE-2022-002. (CVE-2023-23589)\n","status":"published","published":"2023-01-24T07:58:25Z","modified":"2026-04-16T04:42:49.056268325Z","updated_at":"2026-11-02T15:49:42.263076Z"}]}}
