[ASA-202102-19] python-jinja: denial of service

Remi Gacogne rgacogne at archlinux.org
Fri Feb 12 07:11:39 UTC 2021


Arch Linux Security Advisory ASA-202102-19
==========================================

Severity: Low
Date    : 2021-02-07
CVE-ID  : CVE-2020-28493
Package : python-jinja
Type    : denial of service
Remote  : Yes
Link    : https://security.archlinux.org/AVG-1523

Summary
=======

The package python-jinja before version 2.11.3-1 is vulnerable to
denial of service.

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.

Workaround
==========

None.

Description
===========

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.

Impact
======

A remote user might cause a huge CPU utilization via specially crafted
input.

References
==========

https://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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20210212/73fb5438/attachment.sig>


More information about the arch-security mailing list