published 1 Feb 2021 · updated 16 Sep 2024
Regular Expression Denial of Service (ReDoS)
5.3MediumCVSS 5.3EPSS 4%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in 2.11.3 and unspecified.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| <2.11.3, >=0.0.0 <unspecified | 2.11.3, unspecified |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket