jinja2
Affected
- introduced
0, fixed2.11.3(ecosystem)
Fixed versions
2.11.3
Fix
- Fixed version
2.11.3pip install --upgrade jinja2==2.11.3
Advisory
Also known as: CVE-2020-28493, PYSEC-2021-66, SNYK-PYTHON-JINJA2-1012994
Regular Expression Denial of Service (ReDoS) in Jinja2
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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.11.3 (ecosystem)2.11.3
2.11.3pip install --upgrade jinja2==2.11.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0