CVE-2019-1000007: Aioxmpp Depth Counting Error Vulnerability
HIGHCVE-2019-1000007 is a HIGH (CVSS 7.4) depth counting error vulnerability (CWE-237: Improper Handling of Structural Elements) affecting Aioxmpp libraries in the PyPI ecosystem. The issue involves depth counting error in guard() leading to multiple potential security issues in aioxmpp. Remediation is available by upgrading affected packages to version 0.10.3.
CVE-2019-1000007 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H).
How to Fix CVE-2019-1000007
To remediate this vulnerability, upgrade all affected Aioxmpp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install aioxmpp>=0.10.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show aioxmpp
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-1000007, inspect your installed packages using pip:
pip show aioxmpp
Analyze the terminal output to locate any version of Aioxmpp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.3), your application is affected.
Note: The pip show aioxmpp command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-237: Improper Handling of Structural Elements, where the product does not handle or incorrectly handles inputs that are related to complex structures. In Aioxmpp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-1000007 Affected Aioxmpp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aioxmpp
|
PyPI |
< 0.10.3
|
0.10.3
|
References
Frequently Asked Questions
What is CVE-2019-1000007?
Which Aioxmpp versions are affected?
What version fixes CVE-2019-1000007?
Is aioxmpp affected?
What is the CVSS score of CVE-2019-1000007?
What CWE is associated with CVE-2019-1000007?
How can I check PyPI dependencies for CVE-2019-1000007?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6m9g-jr8c-cqw3",
"modified" : "2024-09-04T19:55:01Z",
"published" : "2020-04-29T17:12:39Z",
"aliases" : [ "CVE-2019-1000007" ],
"summary" : "Depth counting error in guard() leading to multiple potential security issues in aioxmpp",
"details" : "### Impact\nPossible remote Denial of Service or Data Injection.\n\n### Patches\nPatches are available in https://github.com/horazont/aioxmpp/pull/268. They have been backported to the 0.10 release series and 0.10.3 is the first release to contain the fix.\n\n### Workarounds\nTo make the bug exploitable, an error suppressing ``xso_error_handler`` is required. By not using ``xso_error_handlers`` or not using the suppression function, the vulnerability can be mitigated completely (to our knowledge).\n\n### References\nThe pull request contains a detailed description: https://github.com/horazont/aioxmpp/pull/268\n\n### For more information\nIf you have any questions or comments about this advisory:\n* [Join our chat](xmpp:aioxmpp@conference.zombofant.net?join)\n* Email the maintainer [Jonas Schäfer](mailto:jonas@wielicki.name)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "aioxmpp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/horazont/aioxmpp/security/advisories/GHSA-6m9g-jr8c-cqw3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-1000007"
}, {
"type" : "WEB",
"url" : "https://github.com/horazont/aioxmpp/pull/268"
}, {
"type" : "WEB",
"url" : "https://github.com/horazont/aioxmpp/commit/29ff0838a40f58efe30a4bbcea95aa8dab7da475"
}, {
"type" : "WEB",
"url" : "https://github.com/horazont/aioxmpp/commit/f151f920f439d97d4103fc11057ed6dc34fe98be"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-6m9g-jr8c-cqw3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/horazont/aioxmpp"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/aioxmpp/PYSEC-2019-1.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-237" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-04-29T17:12:16Z",
"nvd_published_at" : "2019-02-04T21:29:00Z"
}
}