Skip to content

← Public intelligence

Go package

mellium.im/xmpp

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.3GoPublished

    Mellium allows Authentication Bypass by Spoofing

    CVE-2024-46957 · GHSA-98hf-m87w-cq6h

    Affected
    • Go mellium.im/xmpp < 0.22.0
    Fixed in
    0.22.0· Vendor fix available
    Issue
    Mellium mellium.im/xmpp 0.0.1 through 0.21.4 allows response spoofing because the stanza type is not checked. This is fixed in 0.22.0.

    Recommended action: Upgrade to 0.22.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.9GoPublished

    Improper Validation of Certificate with Host Mismatch in mellium.im/xmpp/websocket

    CVE-2022-24968 · GHSA-h289-x5wc-xcv8

    Affected
    • Go mellium.im/xmpp >= 0.18.0, < 0.21.1
    Fixed in
    0.21.1· Vendor fix available
    Issue
    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 the ServerName field was incorrectly being set to the name of the server returned by the TXT record request, not the name of the initial server we were attempting to connect to. This means that any attacker that can spoof a DNS record (ie. in the absence of DNSSEC, DNS-over-TLS, DNS-over-HTTPS, or similar technologies) could redirect the user to a server of their choosing and as long as it had a valid TLS certificate for itself the connection would succeed, resulting in a MITM situation. Patches All users should upgrade to v0.21.1. Workarounds To work around the issue, manually specify a TLS configuration with the correct hostname. References - https://mellium.im/cve/cve-2022-24968/ -…

    Recommended action: Upgrade to 0.21.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →