ArchLinux: 202102-19: python-jinja: denial of service
Summary
A security issue was found in python-jinja before version 2.11.3. The regular expression denial of service vulnerability is mainly due to the sub-pattern [a-zA-Z0-9._-]+.[a-zA-Z0-9._-]+ This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.
Resolution
Upgrade to 2.11.3-1.
# pacman -Syu "python-jinja>=2.11.3-1"
The problem has been fixed upstream in version 2.11.3.
References
https://security.snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994 https://github.com/pallets/jinja/pull/1343 https://github.com/pallets/jinja/commit/ef658dc3b6389b091d608e710a810ce8b87995b3 https://security.archlinux.org/CVE-2020-28493
Workaround
None.