# CVE-2022-45197: Slixmpp lacks SSL Certificate hostname validation in XMLStream

Source: https://junglewise.ai/threats/cve-2022-45197-slixmpp-lacks-ssl-certificate-hostname-validation-in-xmlstream  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-25  
License: CC BY 4.0 with a link back

CVE-2022-45197 · Severity: low · CVSS 3.1 · Published 2022-12-25

Slixmpp before 1.8.3 lacks SSL Certificate hostname validation in XMLStream, allowing an attacker to pose as any server in the eyes of Slixmpp.

Technologies: [slixmpp (PyPI)](https://junglewise.ai/threats/technologies/pypi-slixmpp). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-45197 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-45197 being exploited in the wild.

**How severe is CVE-2022-45197?** Low severity, with a CVSS score of 3.1, published 25 December 2022.

**Which products and versions are affected?** slixmpp (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.3.

**Is there a fix for CVE-2022-45197?** Yes. slixmpp (PyPI): upgrade to 1.8.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-45197?** Check whether you run slixmpp (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- slixmpp (PyPI): upgrade to 1.8.3 or later

  ```sh
  pip install "slixmpp>=1.8.3"
  ```


## Affected products

- slixmpp (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.3

## Identifiers

- CVE-2022-45197
- GHSA-q6cq-m9gm-6q2f
- PYSEC-2022-43013

## Related threats

- [slixmpp Incorrect Access Control](https://junglewise.ai/threats/cve-2019-1000021-slixmpp-incorrect-access-control)
- [PYSEC-2019-51 - slixmpp version before commit 7cd73b594e8122dddf847953fcfc85ab4d316416 contains an incorrect Access…](https://junglewise.ai/threats/pysec-2019-51-slixmpp-version-before-commit-ee9d4269)
- [SleekXMPP and Slixmpp Incorrect Implementation of Message Carbons](https://junglewise.ai/threats/cve-2017-5591-sleekxmpp-and-slixmpp-incorrect-implementation-of-message-carbons)
