# CVE-2019-1000007: Depth counting error in guard() leading to multiple potential security issues in aioxmpp

Source: https://junglewise.ai/threats/cve-2019-1000007-depth-counting-error-in-guard-leading-to-multiple-potential  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-02-04  
License: CC BY 4.0 with a link back

CVE-2019-1000007 · Severity: low · CVSS 3.1 · Published 2019-02-04

aioxmpp version 0.10.2 and earlier contains a Improper Handling of Structural Elements vulnerability in Stanza Parser, rollback during error processing, aioxmpp.xso.model.guard function that can result in Denial of Service, Other. This attack appears to be exploitable via Remote. A crafted stanza can be sent to an application which uses the vulnerable components to either inject data in a different context or cause the application to reconnect (potentially losing data). This vulnerability appears to have been fixed in 0.10.3.

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

## Quick answers

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

**How severe is CVE-2019-1000007?** Low severity, with a CVSS score of 3.1, published 4 February 2019.

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

**Is there a fix for CVE-2019-1000007?** 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.

**Am I affected by CVE-2019-1000007?** 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

  ```sh
  pip install "aioxmpp>=0.10.3"
  ```


## Affected products

- aioxmpp (PyPI) ECOSYSTEM:introduced=0,fixed=0.10.3

## Identifiers

- CVE-2019-1000007
- GHSA-6m9g-jr8c-cqw3
- PYSEC-2019-1

## Related threats

- [aioxmpp depth counting error in guard](https://junglewise.ai/threats/aioxmpp-depth-counting-error-in-guard-70646e15)
- [PYSEC-2019-71 - aioxmpp version 0.10.2 and earlier contains a Improper Handling of Structural Elements vulnerability…](https://junglewise.ai/threats/pysec-2019-71-aioxmpp-version-0-10-2-and-earlier-contains-a-improper-55966327)
