CVE-2020-28493
CVE-2020-28493 · Regular Expression Denial of Service (ReDoS)
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 5.3 · Moyenne · EPSS 3,6% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system · python
Produits et versions concernés
jinja2
- Versions du logiciel
- ≥ 0.0.0, < unspecified: Concernée (custom)
- ≥ unspecified, < 2.11.3: Concernée (custom)
Mettez à jour vers 2.11.3
jinja2 Debian:12
- Plages de versions concernées
- ECOSYSTEM: < 2.11.3-1
Mettez à jour vers 2.11.3-1
jinja2 Debian:13
- Plages de versions concernées
- ECOSYSTEM: < 2.11.3-1
Mettez à jour vers 2.11.3-1
jinja2 Debian:14
- Plages de versions concernées
- ECOSYSTEM: < 2.11.3-1
Mettez à jour vers 2.11.3-1
jinja2 PyPI
- Versions du logiciel
- 2.0
- 2.0rc1
- 2.1
- 2.1.1
- 2.10
- 2.10.1
- 2.10.2
- 2.10.3
- 2.11.0
- 2.11.1
- 2.11.2
- 2.2
- 2.2.1
- 2.3
- 2.3.1
- 2.4
- 2.4.1
- 2.5
- 2.5.1
- 2.5.2
- 2.5.3
- 2.5.4
- 2.5.5
- 2.6
- 2.7
- 2.7.1
- 2.7.2
- 2.7.3
- 2.8
- 2.8.1
- 2.9
- 2.9.1
- 2.9.2
- 2.9.3
- 2.9.4
- 2.9.5
- 2.9.6
- Plages de versions concernées
- ECOSYSTEM: < 2.11.3
Mettez à jour vers 2.11.3
jinja2 PyPI
- Versions du logiciel
- 2.0rc1
- 2.0
- 2.1
- 2.1.1
- 2.2
- 2.2.1
- 2.3
- 2.3.1
- 2.4
- 2.4.1
- 2.5
- 2.5.1
- 2.5.2
- 2.5.3
- 2.5.4
- 2.5.5
- 2.6
- 2.7
- 2.7.1
- 2.7.2
- 2.7.3
- 2.8
- 2.8.1
- 2.9
- 2.9.1
- 2.9.2
- 2.9.3
- 2.9.4
- 2.9.5
- 2.9.6
- 2.10
- 2.10.1
- 2.10.2
- 2.10.3
- 2.11.0
- 2.11.1
- 2.11.2
- Plages de versions concernées
- ECOSYSTEM: < 2.11.3
Mettez à jour vers 2.11.3
jinja2 Ubuntu:Pro:14.04:LTS
- Versions du logiciel
- 2.7-3
- 2.7.1-1
- 2.7.2-1
- 2.7.2-2
- 2.7.2-2ubuntu0.1~esm1
- Plages de versions concernées
- ECOSYSTEM: < 2.7.2-2ubuntu0.1~esm2
Mettez à jour vers 2.7.2-2ubuntu0.1~esm2
jinja2 Ubuntu:Pro:16.04:LTS
- Versions du logiciel
- 2.8-1
- 2.8-1ubuntu0.1
- Plages de versions concernées
- ECOSYSTEM: < 2.8-1ubuntu0.1+esm1
Mettez à jour vers 2.8-1ubuntu0.1+esm1
jinja2 Ubuntu:Pro:18.04:LTS
- Versions du logiciel
- 2.9.6-1
- 2.10-1
- 2.10-1ubuntu0.18.04.1
- Plages de versions concernées
- ECOSYSTEM: < 2.10-1ubuntu0.18.04.1+esm1
Mettez à jour vers 2.10-1ubuntu0.18.04.1+esm1
jinja2 Ubuntu:20.04:LTS
- Versions du logiciel
- 2.10-2ubuntu1
- 2.10-2ubuntu2
- 2.10.1-1ubuntu1
- 2.10.1-2
- Plages de versions concernées
- ECOSYSTEM: < 2.10.1-2ubuntu0.2
Mettez à jour vers 2.10.1-2ubuntu0.2
Sources originales
- https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994
- https://github.com/pallets/jinja/blob/ab81fd9c277900c85da0c322a2ff9d68a235b2e6/src/jinja2/utils.py%23L20
- https://github.com/pallets/jinja/pull/1343
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVAKCOO7VBVUBM3Q6CBBTPBFNP5NDXF4/
- https://security.gentoo.org/glsa/202107-19
- https://nvd.nist.gov/vuln/detail/CVE-2020-28493