要点
- CVE-2020-28493 是影响 jinja2, jinja (palletsprojects) 的中危 (CVSS 5.3)漏洞。
- 未来 30 天内被利用的概率(EPSS):3.6%,高于 89.4% 的漏洞。
- 修复:升级到 2.11.3 或更高版本。
| Package | Affected versions | Patched versions |
|---|
| jinja2 PyPI | < 2.11.3
| 2.11.3
|
| jinja | < 2.11.3
| 2.11.3
|
Description
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDOS vulnerability of the regex is mainly due to the sub-pattern [a-zA-Z0-9.-]+.[a-zA-Z0-9.-]+ 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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free