CVE-2022-45197: Slixmpp SSL Certificate hostname validation vulnerability

slixmpp Updated 02 Oct 2025

Summary

25/12/2022
Yes i
High
7.5

CVE-2022-45197: Slixmpp lacks SSL Certificate hostname validation in XMLStream. Affects slixmpp versions < 1.8.3. Fixed in 1.8.3. How to fix ↓

Also tracked for

The same CVE-2022-45197 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Slixmpp is a Python library that provides a high-level API for XMPP (Extensible Messaging and Presence Protocol) communication. It allows developers to create XMPP clients and servers easily. Slixmpp is widely used in various applications for real-time messaging and presence functionality. However, a vulnerability has been discovered in Slixmpp versions before 1.8.3 that affects the SSL Certificate hostname validation in XMLStream.

Vulnerability Detail

The SSL Certificate hostname validation vulnerability in Slixmpp allows an attacker to pose as any server in the eyes of Slixmpp. This means that an attacker can present a fake SSL certificate and impersonate a legitimate server, leading to various security risks. For example, an attacker could intercept and modify XMPP messages, steal sensitive information, or perform man-in-the-middle attacks. The lack of hostname validation in XMLStream makes it difficult for Slixmpp to verify the authenticity of the server it is communicating with.

How To Fix

Latest published version: 1.17.0 as of 23 Oct 2026

pip install --upgrade "slixmpp==1.17.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.8.3

This is the first release that contains the fix.

pip install --upgrade "slixmpp==1.8.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of Slixmpp to address the SSL Certificate hostname validation issue.

Conclusion

The SSL Certificate hostname validation vulnerability in Slixmpp versions before 1.8.3 poses a significant security risk, allowing attackers to impersonate legitimate servers. To mitigate this vulnerability, it is crucial to upgrade to Slixmpp version 1.8.3 or later. Developers should promptly update their Slixmpp dependency and verify that SSL Certificate hostname validation is enforced. For additional support and guidance, please reach out to DevNack.com.

See every vulnerability recorded for slixmpp →

Share this vulnerability

FAQ

Slixmpp is a Python library for XMPP communication, providing an easy-to-use API for creating XMPP clients and servers.

SSL Certificate hostname validation is the process of verifying that the hostname in the SSL certificate matches the hostname of the server the client is connecting to. It helps ensure the authenticity of the server and prevents man-in-the-middle attacks.

The SSL Certificate hostname validation vulnerability in Slixmpp can allow an attacker to impersonate a legitimate server, leading to various security risks. These risks include interception and modification of XMPP messages, theft of sensitive information, and man-in-the-middle attacks.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using Pipfile.lock to analyze your software without requiring access to the code or installation.

For further support on vulnerability remediation, you can contact info@devnack.com. They can provide guidance and assistance in addressing this vulnerability in your application.

Related vulnerabilities

Recent vulnerabilities recorded for slixmpp.

How To Fix

Latest published version: 1.17.0 as of 23 Oct 2026

pip install --upgrade "slixmpp==1.17.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.8.3

This is the first release that contains the fix.

pip install --upgrade "slixmpp==1.8.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback