Security mailing lists by PureSourceCode

CVE-2022-24968

MEDIUM 5.9CVSS 3.1

Improper 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mellium xmpp
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.