I have been made aware of a potential DOS attack risk in pydantic.
The fix I believe is relatively trivial, I will release:
v1.5.2 based of the current v1.5.1 tagv1.4.1 based of the current v1.4 tagThese releases will be made just after 1pm UTC on 2020/5/11, that's next Monday.
If you require a fix to any other version, please let me know on this issue.
To wait for potential upstream fixes to this issue, these releases have been delayed.
I'll comment here as soon as I know when a fix can be released for pydantic.
Is this issue still necessary?
The python security team are refusing to fix the the upstream error (because it would be complex, and I think a little because they're embarrassed) but have ask packages not to mitigate the problem in libraries to avoid making it public.
The whole situation is extremely frustrating.