5.3

CVE-2020-28493: Regular Expression Denial of Service (ReDoS)

Modified
AliasesALPINE-CVE-2020-28493MGASA-2021-0178SUSE-SU-2021:0601-1
Published 01-02-2021Last modified 16-09-2024

Vulnerability summary

CVE-2020-28493 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in fedoraproject fedora. EPSS estimates a 3.59% chance of exploitation in the next 30 days, higher than 89.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
3.59%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 8 · Related 4

Timeline

  1. 01-02-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 3 versions

EPSS trend

Probability

3.59%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 3.55% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse28 products
  • python-Jinja2&distro=HPE Helion OpenStack 8< 2.9.6-3.6.1
  • python-Jinja2&distro=SUSE Enterprise Storage 6< 2.10.1-3.10.2
  • python-Jinja2&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 2.10.1-3.10.2
  • python-Jinja2&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 2.10.1-3.10.2
  • python-Jinja2&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS< 2.10.1-3.10.2
Mageia2 products
  • python-jinja2< 2.11.3-1.mga7
  • python-jinja2< 2.11.3-1.mga8
Redhat2 products
  • python-jinja2< 0:2.10.1-3.el8
  • python3-jinja2< 0:2.10.1-3.el8
Alpine1 product
  • py3-jinja2< 1.11.3-r0
Debian1 product
  • jinja2< 2.11.3-1
Fedoraproject1 product
Palletsprojects1 product
PyPI1 product
  • jinja2< 2.11.3
Ubuntu1 product
  • jinja2< 2.7.2-2ubuntu0.1~esm2 | < 2.10-1ubuntu0.18.04.1+esm1 | < 2.10.1-2ubuntu0.2 | < 2.8-1ubuntu0.1+esm1

9 vendors · 38 products

References

37 links
Show all 37 references