This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: expose expat XML billion laughs attack mitigation APIs
Type: enhancement Stage: needs patch
Components: Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: corona10, gregory.p.smith, sping
Priority: normal Keywords:

Created on 2022-02-18 21:27 by gregory.p.smith, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg413513 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2022-02-18 21:27
Quoting from https://github.com/python/cpython/pull/31397#issuecomment-1044796561

"""
XML_SetBillionLaughsAttackProtectionActivationThreshold

XML_SetBillionLaughsAttackProtectionMaximumAmplification

I still hope that someone can make those two^^ accessible (with additional glue code) to the user on pyexpat level in CPython.
""" - Sebastian Pipping @hartwork
msg413955 - (view) Author: (sping) * Date: 2022-02-25 02:16
First mention at https://bugs.python.org/issue44394#msg395642
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 90949
2022-02-25 02:16:52spingsetnosy: + sping
messages: + msg413955
2022-02-19 01:36:06corona10setnosy: + corona10
2022-02-18 21:27:31gregory.p.smithcreate