CVE-2020-28493

MEDIUMCVSS 5.3/10EPSS 3.55%

Last modified

CVE-2020-28493 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 3.55% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.3/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS Probability
3.55%

87.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PalletsprojectsJinja< 2.11.3
FedoraprojectFedora33

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2020-28493?
CVE-2020-28493 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 3.55% probability of exploitation in the next 30 days.
How do I fix CVE-2020-28493?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-28493?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST