cbcvebase.
CVE-2020-28493
published 2021-02-01

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…

PriorityP430medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
3.55%
88.0th percentile
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.

Affected

18 ranges
VendorProductVersion rangeFixed in
debianjinja2< jinja2 2.11.3-1 (bookworm)jinja2 2.11.3-1 (bookworm)
fedoraprojectfedora
msrcazl3_nodejs_20.14.0-1_on_azure_linux_3.0
msrcazl3_nodejs_20.14.0-8_on_azure_linux_3.0
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccm1_python-jinja2_2.11.3-1_on_cbl_mariner_1.0
palletsprojectsjinja< 2.11.32.11.3
pocoojinja2>= 0 < 2.11.3-12.11.3-1
pocoojinja2>= 0 < 2.11.3-12.11.3-1
pocoojinja2>= 0 < 2.11.3-12.11.3-1
pocoojinja2>= 0 < 2.11.3-12.11.3-1
pocoojinja2>= 0 < 2.11.32.11.3
pocoojinja2>= 0 < 2.10.1-2ubuntu0.22.10.1-2ubuntu0.2
pocoojinja2>= 0 < 3.0.3-1ubuntu0.13.0.3-1ubuntu0.1
pocoojinja2>= 0 < 2.7.2-2ubuntu0.1~esm22.7.2-2ubuntu0.1~esm2
pocoojinja2>= 0 < 2.8-1ubuntu0.1+esm22.8-1ubuntu0.1+esm2
pocoojinja2>= 0 < 2.10-1ubuntu0.18.04.1+esm12.10-1ubuntu0.18.04.1+esm1

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_msrc5.3MEDIUM
vendor_redhat5.3MEDIUM
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.