Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. mellium.im/xmpp
  4. ›
  5. GHSA-m658-p24x-p74r

GHSA-m658-p24x-p74r: Duplicate Advisory: TLS certificate validation error in mellium.im/xmpp

February 12, 2022 (updated May 20, 2024)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-h289-x5wc-xcv8. This link is maintained to preserve external references.

Original Description

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.

References

  • github.com/advisories/GHSA-m658-p24x-p74r
  • github.com/mellium/xmpp/commit/0d92aa486da69b71f2f4a30e62aa722c711b98ac
  • github.com/mellium/xmpp/pull/260
  • mellium.im/cve/cve-2022-24968
  • mellium.im/issue/259
  • mellium.im/xmpp
  • nvd.nist.gov/vuln/detail/CVE-2022-24968
  • pkg.go.dev/vuln/GO-2022-0370

Code Behaviors & Features

Detect and mitigate GHSA-m658-p24x-p74r with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.18.0 before 0.21.1

Fixed versions

  • 0.21.1

Solution

Upgrade to version 0.21.1 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

go/mellium.im/xmpp/GHSA-m658-p24x-p74r.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:33 +0000.