Skip to content

TLS certificate validation error in mellium.im/xmpp

Moderate severity GitHub Reviewed Published Feb 12, 2022 to the GitHub Advisory Database • Updated Aug 30, 2023

Package

gomod mellium.im/xmpp (Go)

Affected versions

>= 0.18.0, < 0.21.1

Patched versions

0.21.1

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

Published by the National Vulnerability Database Feb 11, 2022
Published to the GitHub Advisory Database Feb 12, 2022
Reviewed Feb 14, 2022
Last updated Aug 30, 2023

Severity

Moderate
5.9
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CVE ID

CVE-2022-24968

GHSA ID

GHSA-m658-p24x-p74r

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.