Visit Website →

Recent Items

cnvd-2022-13388

cnvd-2022-13388

fkie_cve-2022-24968

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.

GHSA-h289-x5wc-xcv8 — Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket

Affected: Go: mellium.im/xmpp

### Impact

If no TLS configuration is provided by the user, the websocket package constructs its own TLS configuration using recommended defaults. When looking up a WSS endpoint using the DNS TXT record method described in [XEP-0156: Discovering Alternative XMPP Connection Methods](https://xmpp.org/extensions/xep-0156.html) the ServerName field was incorrectly being set to the name of the server returned by the TXT record request, n…

gsd-2022-24968

gsd-2022-24968