{"api_version":"1","generated_at":"2026-07-23T11:09:32+00:00","cve":"CVE-2018-25022","urls":{"html":"https://cve.report/CVE-2018-25022","api":"https://cve.report/api/cve/CVE-2018-25022.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-25022","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-25022"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-12-13 01:15:00","updated_at":"2022-02-08 18:55:00"},"problem_types":["CWE-200"],"metrics":[],"references":[{"url":"https://github.com/TokTok/c-toxcore/issues/873","name":"https://github.com/TokTok/c-toxcore/issues/873","refsource":"MISC","tags":[],"title":"Onion vulnerability · Issue #873 · TokTok/c-toxcore · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://blog.tox.chat/2018/04/security-vulnerability-and-new-toxcore-release","name":"https://blog.tox.chat/2018/04/security-vulnerability-and-new-toxcore-release","refsource":"MISC","tags":[],"title":"Security vulnerability and new Toxcore release – Tox Blog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/TokTok/c-toxcore/pull/872","name":"https://github.com/TokTok/c-toxcore/pull/872","refsource":"MISC","tags":[],"title":"Restrict packet kinds that can be sent through onion path. by kurnevsky · Pull Request #872 · TokTok/c-toxcore · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-25022","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25022","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"25022","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"digitalocean","cpe5":"toxcore","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"25022","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"toktok","cpe5":"toxcore","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-25022","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/TokTok/c-toxcore/issues/873","refsource":"MISC","name":"https://github.com/TokTok/c-toxcore/issues/873"},{"url":"https://github.com/TokTok/c-toxcore/pull/872","refsource":"MISC","name":"https://github.com/TokTok/c-toxcore/pull/872"},{"url":"https://blog.tox.chat/2018/04/security-vulnerability-and-new-toxcore-release","refsource":"MISC","name":"https://blog.tox.chat/2018/04/security-vulnerability-and-new-toxcore-release"}]}},"nvd":{"publishedDate":"2021-12-13 01:15:00","lastModifiedDate":"2022-02-08 18:55:00","problem_types":["CWE-200"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.1,"baseSeverity":"LOW"},"exploitabilityScore":1.6,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:toktok:toxcore:*:*:*:*:*:*:*:*","versionEndExcluding":"0.2.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"25022","Ordinal":"222713","Title":"CVE-2018-25022","CVE":"CVE-2018-25022","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"25022","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"25022","Ordinal":"2","NoteData":"2021-12-12","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"25022","Ordinal":"3","NoteData":"2021-12-12","Type":"Other","Title":"Modified"}]}}}