{"id":"CVE-2018-25022","aliases":["DEBIAN-CVE-2018-25022","EUVD-2018-13803","GHSA-47vr-crpx-w72f","UBUNTU-CVE-2018-25022"],"status":"published","title":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed,...","description":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.","severity":{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01555,"percentile":0.75331,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2021-12-13T00:53:11Z","modified":"2026-10-23T18:03:21Z","fixes":[{"ecosystem":"Debian:12","package":"libtoxcore","fixed_in":["0.2.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libtoxcore","fixed_in":["0.2.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libtoxcore","fixed_in":["0.2.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libtoxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libtoxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libtoxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.2-1"}]}]}],"products":[{"vendor":"toktok","product":"toxcore"}],"references":[{"url":"https://github.com/TokTok/c-toxcore/issues/873","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/TokTok/c-toxcore/pull/872","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://blog.tox.chat/2018/04/security-vulnerability-and-new-toxcore-release","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25022"},{"url":"https://github.com/advisories/GHSA-47vr-crpx-w72f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-25022","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-25022","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-25022","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-25022","description":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.","status":"published","published":"2021-12-13T00:53:11Z","modified":"2024-08-05T12:26:39.652Z","updated_at":"2026-11-02T14:35:01.952568Z"}],"euvd":[{"id":"EUVD-2018-13803","description":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.","status":"published","published":"2021-12-13T00:53:11Z","modified":"2024-08-05T12:26:39Z","updated_at":"2026-11-03T02:39:27.400094Z"}],"ghsa":[{"id":"GHSA-47vr-crpx-w72f","title":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed,...","description":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.","status":"published","published":"2021-12-14T00:01:17Z","modified":"2023-02-01T05:06:46Z","cwes":["CWE-200"],"updated_at":"2026-11-02T14:50:25.046492Z"}],"nvd":[{"id":"CVE-2018-25022","description":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.","status":"published","published":"2021-12-13T01:15:07.587Z","modified":"2026-06-17T01:54:32.473Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:05:00.565712Z"}],"osv":[{"id":"CVE-2018-25022","description":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.","status":"published","published":"2021-12-13T01:15:07.587Z","modified":"2026-10-20T13:30:51.128425224Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"DEBIAN-CVE-2018-25022","description":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.","status":"published","published":"2021-12-13T01:15:07.587Z","modified":"2026-10-23T18:03:21.234497587Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-25022","description":"The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.","status":"withdrawn","published":"2021-12-13T01:15:00Z","modified":"2025-07-16T07:38:33.347272Z","cvss":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:54:17.91743Z"}]}}
