{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-24968","id":"CVE-2022-24968","title":"Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket","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.","descriptionLong":"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.","published":"2022-02-11T18:16:54.000Z","updated":"2026-10-28T02:31:03.845837779Z","reserved":"2022-02-11T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"mellium.im/xmpp","purl":"pkg:golang/mellium.im/xmpp","ranges":[">=0.18.0 <0.21.1"],"fixed":["0.21.1"],"advisory":"GHSA-h289-x5wc-xcv8"}],"cwes":["CWE-295"],"aliases":["GHSA-h289-x5wc-xcv8","GHSA-m658-p24x-p74r","GO-2022-0370"],"references":[{"url":"https://mellium.im/xmpp/","tags":["x_refsource_MISC","x_transferred","Product","Vendor Advisory","web"]},{"url":"https://mellium.im/cve/cve-2022-24968/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24968.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24968","tags":["advisory"]},{"url":"https://github.com/mellium/xmpp/security/advisories/GHSA-h289-x5wc-xcv8","tags":["web"]},{"url":"https://github.com/mellium/xmpp/pull/260","tags":["web","fix"]},{"url":"https://github.com/mellium/xmpp/commit/0d92aa486da69b71f2f4a30e62aa722c711b98ac","tags":["web","fix"]},{"url":"https://github.com/mellium/xmpp","tags":["package"]},{"url":"https://mellium.im/cve/cve-2022-24968","tags":["web"]},{"url":"https://mellium.im/issue/259","tags":["web","report"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0370","tags":["web"]},{"url":"https://mellium.im/xmpp","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00539,"epssPercentile":0.46172,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-24968","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24968","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-24968","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h289-x5wc-xcv8","ok":true,"note":"GHSA-h289-x5wc-xcv8"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m658-p24x-p74r","ok":true,"note":"GHSA-m658-p24x-p74r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-24968","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}