CVE-2020-28493

Public Exploit
Regular Expression Denial of Service (ReDoS)

Description

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.

Category

5.3
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.21%
Vendor Advisory fedoraproject.org Vendor Advisory gentoo.org
Affected: n/a jinja2
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2020-28493?
CVE-2020-28493 has been scored as a medium severity vulnerability.
How to fix CVE-2020-28493?
To fix CVE-2020-28493, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-28493 being actively exploited in the wild?
It is possible that CVE-2020-28493 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-28493?
CVE-2020-28493 affects n/a jinja2.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.