CVE-2022-24968
MEDIUM 5.9CVSS 3.1Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket
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
- 11 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GHSA-h289-x5wc-xcv8GHSA-m658-p24x-p74rGO-2022-0370
- Sources
- NVDJSONOSV GHSA-h289-x5wc-xcv8JSONOSV GHSA-m658-p24x-p74rJSONOSV GO-2022-0370JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mellium | xmppcpe:2.3:a:mellium:xmpp:*:*:*:*:*:*:*:* |
>= 0.18.0, < 0.21.1 | 0.21.1 |
| OSV | Go | mellium.im/xmpp | >= 0.18.0, < 0.21.1 | 0.21.1 |
References
- https://mellium.im/cve/cve-2022-24968/ · Vendor Advisory, WEB, ADVISORY
- https://mellium.im/xmpp/ · Product, Vendor Advisory, WEB
- https://github.com/mellium/xmpp/security/advisories/GHSA-h289-x5wc-xcv8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24968 · ADVISORY
- https://github.com/mellium/xmpp/pull/260 · WEB, FIX
- https://github.com/mellium/xmpp/commit/0d92aa486da69b71f2f4a30e62aa722c711b98ac · WEB, FIX
- https://github.com/mellium/xmpp · PACKAGE
- https://mellium.im/issue/259 · WEB, REPORT
- https://pkg.go.dev/vuln/GO-2022-0370 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Feb 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Feb 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Feb 2022)