CVE-2019-1000007
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
aioxmpp (PyPI)before 0.10.3GitHub Advisory Database, PyPA Advisory Database
aioxmpp_project aioxmppup to 0.10.2NVD

All scores

GitHub7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.4high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD5.8medium CVSS:2.0AV: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:

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

SourceRecordLicence
CVE ListCVE-2019-1000007 changed 2024-08-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-6m9g-jr8c-cqw3 changed 2024-09-04CC-BY-4.0
NVDCVE-2019-1000007 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2019-1 changed 2023-11-08CC-BY-4.0