7.4high
Depth counting error in guard() leading to multiple potential security issues in aioxmpp
- Severity
- 7.4high CVSS:3.0 by NVD
- Exploit likelihood
- 1.17% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-6m9g-jr8c-cqw3PYSEC-2019-1
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| aioxmpp (PyPI) | before 0.10.3 | GitHub Advisory Database, PyPA Advisory Database |
| aioxmpp_project aioxmpp | up to 0.10.2 | NVD |
All scores
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 7.4high CVSS:3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Possible remote Denial of Service or Data Injection.
Patches
Patches 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.
Workarounds
To 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).
References
The pull request contains a detailed description: https://github.com/horazont/aioxmpp/pull/268
For more information
If you have any questions or comments about this advisory:
- Join our chat
- Email the maintainer Jonas Schäfer
NVD (es)
Aioxmpp, en versiones 0.10.2 y anteriores, contiene una vulnerabilidad de manejo de elementos estructurales en el analizador Stanza (rollback durante el procesamiento de errores) en la función aioxmpp.xso.model.guard que puede resultar en una denegación de servicio (DoS) y otros. Este ataque parece ser explotable remotamente. Un Stanza manipulado puede enviarse a una aplicación que emplea los componentes vulnerables para inyectar datos en un contexto diferente o hacer que la aplicación se reconecte (pudiendo perder datos). La vulnerabilidad parece haber sido solucionada en la versión 0.10.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-1000007 changed 2024-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6m9g-jr8c-cqw3 changed 2024-09-04 | CC-BY-4.0 |
| NVD | CVE-2019-1000007 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2019-1 changed 2023-11-08 | CC-BY-4.0 |