VYPR
Medium severity5.9NVD Advisory· Published Feb 9, 2017· Updated May 13, 2026

CVE-2017-5591

CVE-2017-5591

Description

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
slixmppPyPI
< 1.2.41.2.4
SleekXMPPPyPI
< 1.3.21.3.2

Affected products

6
  • cpe:2.3:a:sleekxmpp_project:sleekxmpp:*:*:*:*:*:*:*:*
    Range: <=1.3.1
  • cpe:2.3:a:slixmpp_project:slixmpp:*:*:*:*:*:*:*:*
    Range: <=1.2.3
  • Poezio/Poezio4 versions
    cpe:2.3:a:poezio:poezio:0.8:*:*:*:*:*:*:*+ 3 more
    • cpe:2.3:a:poezio:poezio:0.8:*:*:*:*:*:*:*
    • cpe:2.3:a:poezio:poezio:0.8.1:*:*:*:*:*:*:*
    • cpe:2.3:a:poezio:poezio:0.9:*:*:*:*:*:*:*
    • cpe:2.3:a:poezio:poezio:0.10:*:*:*:*:*:*:*

Patches

2
285495d5ee24

Merge pull request #448 from fritzy/v1.3.2

https://github.com/fritzy/SleekXMPPMike TaylorMar 23, 2017via ghsa
2 files changed · +6 4
  • sleekxmpp/plugins/xep_0280/carbons.py+4 2 modified
    @@ -61,10 +61,12 @@ def session_bind(self, jid):
             self.xmpp.plugin['xep_0030'].add_feature('urn:xmpp:carbons:2')
     
         def _handle_carbon_received(self, msg):
    -        self.xmpp.event('carbon_received', msg)
    +        if msg['from'].bare == self.xmpp.boundjid.bare:
    +            self.xmpp.event('carbon_received', msg)
     
         def _handle_carbon_sent(self, msg):
    -        self.xmpp.event('carbon_sent', msg)
    +        if msg['from'].bare == self.xmpp.boundjid.bare:
    +            self.xmpp.event('carbon_sent', msg)
     
         def enable(self, ifrom=None, block=True, timeout=None, callback=None):
             iq = self.xmpp.Iq()
    
  • sleekxmpp/version.py+2 2 modified
    @@ -9,5 +9,5 @@
     # We don't want to have to import the entire library
     # just to get the version info for setup.py
     
    -__version__ = '1.4.0'
    -__version_info__ = (1, 4, 0, '', 0)
    +__version__ = '1.3.2'
    +__version_info__ = (1, 3, 2, '', 0)
    
22664ee7b86c

Fix carbons

https://github.com/poezio/slixmppmathieuiJan 27, 2017via ghsa
1 file changed · +4 2
  • slixmpp/plugins/xep_0280/carbons.py+4 2 modified
    @@ -61,10 +61,12 @@ def session_bind(self, jid):
             self.xmpp.plugin['xep_0030'].add_feature('urn:xmpp:carbons:2')
     
         def _handle_carbon_received(self, msg):
    -        self.xmpp.event('carbon_received', msg)
    +        if msg['from'].bare == self.xmpp.boundjid.bare:
    +            self.xmpp.event('carbon_received', msg)
     
         def _handle_carbon_sent(self, msg):
    -        self.xmpp.event('carbon_sent', msg)
    +        if msg['from'].bare == self.xmpp.boundjid.bare:
    +            self.xmpp.event('carbon_sent', msg)
     
         def enable(self, ifrom=None, timeout=None, callback=None,
                    timeout_callback=None):
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

15

News mentions

0

No linked articles in our index yet.