Name | CVE-2020-28493 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 982736 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
jinja2 (PTS) | jessie, jessie (lts) | 2.7.3-1+deb8u1 | vulnerable |
| stretch (lts), stretch | 2.8-1+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 2.10-2+deb10u1 | vulnerable |
| bullseye | 2.11.3-1 | fixed |
| bookworm | 3.1.2-1 | fixed |
| sid, trixie | 3.1.3-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
jinja2 | source | (unstable) | 2.11.3-1 | | | 982736 |
Notes
[buster] - jinja2 <no-dsa> (Minor issue)
[stretch] - jinja2 <no-dsa> (Minor issue)
https://github.com/pallets/jinja/pull/1343
https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994
[jessie] - jinja2 <no-dsa> (Minor issue)