[Python-Dev] Status of XML fixes (original) (raw)

Christian Heimes christian at python.org
Sun Mar 17 17:37:37 CET 2013


Hello,

I like to give an update on the XML vulnerability fixes. Brett has asked me a couple of days ago but I haven't had time to answer. I was/am busy with my daily job.

Any attempt to fix the XML issues will change the behavior of the library and result into an incompatibility with older releases. Benjamin doesn't want to change the behavior of our XML libraries. IIRC Georg and Barry are +0. I think that we should keep the current and unsafe settings as default and add a simmple API to enable limitations and protections.

What's available?

https://bitbucket.org/tiran/defusedexpat contains everything we need to fix the issues in the stdlib. All modifications to C code are available for all relevant Python versions. They have been tested on Linux and Windows, too.

What needs to be done?

In the mean time ...

https://pypi.python.org/pypi/defusedxml provides documentation, examples and fixes for all Python versions w/o any C extension.

Christian



More information about the Python-Dev mailing list