Vulnerability
CVE-2020-28493
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. 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.
34 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALPINE-CVE-2020-28493
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as…
- ALPINE-EDGE-CVE-2020-28493
-
ALSA-2021:4151
Moderate: python27:2.7 security update
-
ALSA-2021:4161
Moderate: python-jinja2 security update
-
ALSA-2021:4162
Moderate: python38:3.8 and python38-devel:3.8 security update
-
AZL-40857
CVE-2020-28493 affecting package nodejs for versions less than 20.14.0-1
-
AZL-75813
CVE-2020-28493 affecting package nodejs24 for versions less than 24.13.0-1
-
DEBIAN-CVE-2020-28493
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as…
-
ELSA-2021-4151
ELSA-2021-4151: python27:2.7 security update (MODERATE)
-
ELSA-2021-4162
ELSA-2021-4162: python38:3.8 and python38-devel:3.8 security update (MODERATE)
-
GHSA-g3rq-g295-4j3m
Regular Expression Denial of Service (ReDoS) in Jinja2
-
OESA-2021-1190
python-jinja2 security update
-
PYSEC-2021-66
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as…
-
RHSA-2021:3252
Red Hat Security Advisory: python27 security update
-
RHSA-2021:3254
Red Hat Security Advisory: rh-python38 security, bug fix, and enhancement update
-
RHSA-2021:4151
Red Hat Security Advisory: python27:2.7 security update
-
RHSA-2021:4161
Red Hat Security Advisory: python-jinja2 security update
-
RHSA-2021:4162
Red Hat Security Advisory: python38:3.8 and python38-devel:3.8 security update
-
RHVEX-CVE-2020-28493
python-jinja2: ReDoS vulnerability in the urlize filter
-
RLSA-2021:4151
Moderate: python27:2.7 security update
-
RLSA-2021:4161
Moderate: python-jinja2 security update
-
RLSA-2021:4162
Moderate: python38:3.8 and python38-devel:3.8 security update
-
SUSE-SU-2021:0601-1
Security update for python-Jinja2
-
SUSE-SU-2021:0602-1
Security update for python-Jinja2
-
SUSE-SU-2021:0603-1
Security update for python-Jinja2
-
SUSE-SU-2021:0607-1
Security update for python-Jinja2
-
SUSE-SU-2021:0654-1
Security update for python-Jinja2
-
SUSE-SU-2021:14644-1
Security update for python-Jinja2
-
UBUNTU-CVE-2020-28493
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as…
-
USN-5701-1
jinja2 vulnerability
-
USN-6599-1
jinja2 vulnerabilities
-
openSUSE-SU-2024:11208-1
python36-Jinja2-3.0.1-3.2 on GA media
-
openSUSE-SU-2024:13930-1
python310-Jinja2-3.1.4-1.1 on GA media
-
openSUSE-SU-2026:11992-1
python313-Jinja2-3.1.6-2.4 on GA media
References
- https://github.com/pallets/jinja/blob/ab81fd9c277900c85da0c322a2ff9d68a235b2e6/src/jinja2/utils.py%23L20
- https://github.com/pallets/jinja/pull/1343
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVAKCOO7VBVUBM3Q6CBBTPBFNP5NDXF4/
- https://security.gentoo.org/glsa/202107-19
- https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994