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.
Update jinja2 to 2.11.3 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanGHSA-g3rq-g295-4j3m affects jinja2 (pypi). Severity is high. 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.
AI coding agents often install or upgrade packages automatically in pypi. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| jinja2pypi | <2.11.3 | 2.11.3 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
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.
Update jinja2 to 2.11.3 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanGHSA-g3rq-g295-4j3m affects jinja2 (pypi). Severity is high. 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.
AI coding agents often install or upgrade packages automatically in pypi. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| jinja2pypi | <2.11.3 | 2.11.3 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by OSV (osv).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL GuardReported by OSV (osv).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard