# GO-2022-0947 - In Mellium mellium.im/xmpp, an attacker capable of spoofing DNS TXT records can redirect a WebSocket…

Source: https://junglewise.ai/threats/go-2022-0947-in-mellium-mellium-im-xmpp-an-attacker-capable-of-spoofing-4b6b1ab9  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-08-22  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-08-22

In Mellium mellium.im/xmpp, 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 verification.

Technologies: [mellium.im/xmpp (Go)](https://junglewise.ai/threats/technologies/mellium-im-xmpp). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 22 August 2022.

**Which products and versions are affected?** mellium.im/xmpp (Go) SEMVER:introduced=0.18.0,fixed=0.21.1.

**Is there a fix for This vulnerability?** Yes. mellium.im/xmpp (Go): upgrade to 0.21.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run mellium.im/xmpp (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mellium.im/xmpp (Go): upgrade to 0.21.1 or later

  ```sh
  go get mellium.im/xmpp@v0.21.1
  ```


## Affected products

- mellium.im/xmpp (Go) SEMVER:introduced=0.18.0,fixed=0.21.1

## Related threats

- [GO-2024-3157 - Mellium allows Authentication Bypass by Spoofing in mellium.im/xmpp](https://junglewise.ai/threats/cve-2024-46957-mellium-allows-authentication-bypass-by-spoofing)
- [GO-2022-0370 - Man-in-the-middle attack due to improper validation of certificate in mellium.im/xmpp](https://junglewise.ai/threats/cve-2022-24968-improper-validation-of-certificate-with-host-mismatch-in-mellium)
- [GO-2021-0321 - An attacker capable of spoofing DNS TXT records can redirect a WebSocket connection request to a server…](https://junglewise.ai/threats/go-2021-0321-an-attacker-capable-of-spoofing-dns-txt-records-can-7c0cd935)
