CVE-2022-24968 json
Duplicate Advisory: TLS certificate validation error in mellium.im/xmpp
published 4y ago modified 4mo ago also GHSA-h289-x5wc-xcv8 , GHSA-m658-p24x-p74r , GO-2022-0370 , EUVD-2022-1027
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go mellium.im/xmpp 0.21.1
- mellium xmpp 0.21.1
- github.com/mellium/xmpp@0d92aa4 commit
- github.com/mellium/xmpp#260 pull request
Is CVE-2022-24968 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | mellium.im/xmpp | >=0.18.0, <0.21.1 |
0.21.1 |
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/mellium/xmpp/pull/260
web, patch
-
github.com
/mellium/xmpp/commit/0d92aa486da69b71f2f4a30e62aa722c711b98ac
web, patch
-
mellium.im
/xmpp/
product, vendor-advisory
-
mellium.im
/cve/cve-2022-24968/
vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24968
advisory
-
mellium.im
/cve/cve-2022-24968
web
-
mellium.im
/issue/259
web, report
-
mellium.im
/xmpp
web
-
pkg.go.dev
/vuln/GO-2022-0370
web
-
github.com
/mellium/xmpp/security/advisories/GHSA-h289-x5wc-xcv8
web
-
github.com
/mellium/xmpp
package
Sources
- CVE List CVE-2022-24968
- GitHub Advisory GHSA-m658-p24x-p74r
- GitHub Advisory GHSA-h289-x5wc-xcv8
- NVD CVE-2022-24968
- OSV GO-2022-0370
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.