CVE-2020-28493
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/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Palletsprojects | Jinja | < 2.11.3 |
| Fedoraproject | Fedora | 33 |
References
- https://github.com/pallets/jinja/pull/1343Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202107-19Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994Exploit, Third Party Advisory
- https://github.com/pallets/jinja/pull/1343Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202107-19Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-28493?
How severe is CVE-2020-28493?
How do I fix CVE-2020-28493?
Are you affected by CVE-2020-28493?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
