aioxmpp depth counting error in guard

Severity: info · Published 2019-02-07

aioxmpp is a Python library for XMPP (Jabber) messaging. A depth counting error in the guard() function can lead to remote denial of service or malicious data injection into XMPP message streams. Applications using error-suppressing xso_error_handlers are vulnerable to exploitation.

Technologies: aioxmpp (PyPI). Vendors: PyPI.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 7 February 2019.
Which products and versions are affected?
aioxmpp (PyPI) ECOSYSTEM:introduced=0,fixed=0.10.3.
Is there a fix for This vulnerability?
Yes. aioxmpp (PyPI): upgrade to 0.10.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is This vulnerability attacked?
It is attacked over the network, in a software library.
Am I affected?
Check whether you run aioxmpp (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

  • aioxmpp (PyPI): upgrade to 0.10.3 or later
    pip install "aioxmpp>=0.10.3"

Technical details

A depth counting error in the guard() function allows improper validation of XMPP stream structures, potentially leading to Denial of Service or Data Injection attacks. The vulnerability requires specific preconditions: an error-suppressing xso_error_handler must be in use. Remote attackers can exploit this via the XMPP protocol to cause denial of service or inject malicious data. The vulnerability affects all versions prior to 0.10.3, which contains the fix (PR #268).

Affected products

  • aioxmpp aioxmpp < 0.10.3

Timeline

  • 2019-05-23: disclosed
  • 2019-05-23: patched: Version 0.10.3 released with fix

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.