# CVE-2024-46957: GO-2024-3157 - Mellium allows Authentication Bypass by Spoofing in mellium.im/xmpp

Source: https://junglewise.ai/threats/cve-2024-46957-mellium-allows-authentication-bypass-by-spoofing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-09-26  
License: CC BY 4.0 with a link back

CVE-2024-46957 · Severity: low · CVSS 3.1 · Published 2024-09-26

Mellium allows Authentication Bypass by Spoofing in mellium.im/xmpp

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

## Quick answers

**Is CVE-2024-46957 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-46957 being exploited in the wild.

**How severe is CVE-2024-46957?** Low severity, with a CVSS score of 3.1, published 26 September 2024.

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

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

**Am I affected by CVE-2024-46957?** 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.22.0 or later

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


## Affected products

- mellium.im/xmpp (Go) SEMVER:introduced=0,fixed=0.22.0

## Identifiers

- CVE-2024-46957
- GHSA-98hf-m87w-cq6h
- GO-2024-3157

## Related threats

- [GO-2022-0947 - In Mellium mellium.im/xmpp, an attacker capable of spoofing DNS TXT records can redirect a WebSocket…](https://junglewise.ai/threats/go-2022-0947-in-mellium-mellium-im-xmpp-an-attacker-capable-of-spoofing-4b6b1ab9)
- [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)
