Описание
Depth counting error in guard() leading to multiple potential security issues in aioxmpp
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
Ссылки
- https://github.com/horazont/aioxmpp/security/advisories/GHSA-6m9g-jr8c-cqw3
- https://nvd.nist.gov/vuln/detail/CVE-2019-1000007
- https://github.com/horazont/aioxmpp/pull/268
- https://github.com/horazont/aioxmpp/commit/29ff0838a40f58efe30a4bbcea95aa8dab7da475
- https://github.com/horazont/aioxmpp/commit/f151f920f439d97d4103fc11057ed6dc34fe98be
- https://github.com/advisories/GHSA-6m9g-jr8c-cqw3
- https://github.com/pypa/advisory-database/tree/main/vulns/aioxmpp/PYSEC-2019-1.yaml
Пакеты
aioxmpp
< 0.10.3
0.10.3
Связанные уязвимости
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.
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.
aioxmpp version 0.10.2 and earlier contains a Improper Handling of Str ...