# CVE-2017-5591: SleekXMPP and Slixmpp Incorrect Implementation of Message Carbons

Source: https://junglewise.ai/threats/cve-2017-5591-sleekxmpp-and-slixmpp-incorrect-implementation-of-message-carbons  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-02-09  
License: CC BY 4.0 with a link back

CVE-2017-5591 · Severity: low · CVSS 3.1 · Published 2017-02-09

An incorrect implementation of "XEP-0280: Message Carbons" in multiple XMPP clients allows a remote attacker to impersonate any user, including contacts, in the vulnerable application's display. This allows for various kinds of social engineering attacks. This CVE is for SleekXMPP up to 1.3.1 and Slixmpp all versions up to 1.2.3, as bundled in poezio (0.8 - 0.10) and other products.

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

## Quick answers

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

**How severe is CVE-2017-5591?** Low severity, with a CVSS score of 3.1, published 9 February 2017.

**Which products and versions are affected?** sleekxmpp (PyPI) ECOSYSTEM:introduced=0,fixed=1.3.2; slixmpp (PyPI) ECOSYSTEM:introduced=0,fixed=1.2.4, GIT:introduced=0,fixed=22664ee7b86c8e010f312b66d12590fb47160ad8|ECOSYSTEM:introduced=0,fixed=1.2.4.

**Is there a fix for CVE-2017-5591?** Yes. sleekxmpp (PyPI): upgrade to 1.3.2 or later; slixmpp (PyPI): upgrade to 1.2.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-5591?** Check whether you run sleekxmpp (PyPI) or 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

- sleekxmpp (PyPI): upgrade to 1.3.2 or later

  ```sh
  pip install "sleekxmpp>=1.3.2"
  ```

- slixmpp (PyPI): upgrade to 1.2.4 or later

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


## Affected products

- sleekxmpp (PyPI) ECOSYSTEM:introduced=0,fixed=1.3.2
- slixmpp (PyPI) ECOSYSTEM:introduced=0,fixed=1.2.4, GIT:introduced=0,fixed=22664ee7b86c8e010f312b66d12590fb47160ad8|ECOSYSTEM:introduced=0,fixed=1.2.4

## Identifiers

- CVE-2017-5591
- GHSA-c35g-jr5f-h83p
- PYSEC-2017-103
- PYSEC-2017-104

## Related threats

- [Slixmpp lacks SSL Certificate hostname validation in XMLStream](https://junglewise.ai/threats/cve-2022-45197-slixmpp-lacks-ssl-certificate-hostname-validation-in-xmlstream)
- [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)
