Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. mellium.im/xmpp
  4. ›
  5. CVE-2022-24968

CVE-2022-24968: TLS certificate validation error

February 12, 2022 (updated February 15, 2022)

In 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 this verification.

References

  • github.com/advisories/GHSA-m658-p24x-p74r
  • mellium.im/cve/cve-2022-24968/
  • mellium.im/xmpp/
  • nvd.nist.gov/vuln/detail/CVE-2022-24968

Code Behaviors & Features

Detect and mitigate CVE-2022-24968 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 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

Source file

go/mellium.im/xmpp/CVE-2022-24968.yml

Spotted a mistake? Edit the file on GitLab.

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

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