{"cve":"CVE-2022-24968","nvd":{"published":"2022-02-11T22:15:07.887","modified":"2026-06-17T04:32:52.430","status":"Modified","description":"In Mellium mellium.im/xmpp through 0.21.0, an attacker capable of spoofing DNS TXT records can redirect a WebSocket connection request to a server under their control without causing TLS certificate verification to fail. This occurs because the wrong host name is selected during this verification.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9},"cwes":["CWE-295"],"references":["https://mellium.im/cve/cve-2022-24968/","https://mellium.im/xmpp/","https://mellium.im/cve/cve-2022-24968/","https://mellium.im/xmpp/"],"products":["mellium:xmpp"],"source":"nvd","synced_at":"2026-10-19T21:28:04.509275555+00:00"},"epss":{"cve":"CVE-2022-24968","score":0.00539,"percentile":0.45404,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-h289-x5wc-xcv8","url":"https://osv.dev/vulnerability/GHSA-h289-x5wc-xcv8","summary":"Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket","modified":"2024-05-20T21:13:34Z","packages":[{"ecosystem":"Go","name":"mellium.im/xmpp","purl":"pkg:golang/mellium.im/xmpp","ranges":[">=0.18.0 <0.21.1"],"fixed":["0.21.1"]}]},{"id":"GO-2022-0370","url":"https://osv.dev/vulnerability/GO-2022-0370","summary":"Man-in-the-middle attack due to improper validation of certificate in mellium.im/xmpp","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"mellium.im/xmpp","purl":"pkg:golang/mellium.im/xmpp","ranges":[">=0.18.0 <0.21.1"],"fixed":["0.21.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}