CVE-2020-28493
CVE-2020-28493 · Regular Expression Denial of Service (ReDoS)
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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 · Mittel · EPSS 3,6% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · python
Betroffene Produkte und Versionen
jinja2
- Softwareversionen
- ≥ 0.0.0, < unspecified: Betroffen (custom)
- ≥ unspecified, < 2.11.3: Betroffen (custom)
Auf 2.11.3 aktualisieren
jinja2 Debian:12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.11.3-1
Auf 2.11.3-1 aktualisieren
jinja2 Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.11.3-1
Auf 2.11.3-1 aktualisieren
jinja2 Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.11.3-1
Auf 2.11.3-1 aktualisieren
jinja2 PyPI
- Softwareversionen
- 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
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.11.3
Auf 2.11.3 aktualisieren
jinja2 PyPI
- Softwareversionen
- 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
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.11.3
Auf 2.11.3 aktualisieren
jinja2 Ubuntu:Pro:14.04:LTS
- Softwareversionen
- 2.7-3
- 2.7.1-1
- 2.7.2-1
- 2.7.2-2
- 2.7.2-2ubuntu0.1~esm1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.7.2-2ubuntu0.1~esm2
Auf 2.7.2-2ubuntu0.1~esm2 aktualisieren
jinja2 Ubuntu:Pro:16.04:LTS
- Softwareversionen
- 2.8-1
- 2.8-1ubuntu0.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.8-1ubuntu0.1+esm1
Auf 2.8-1ubuntu0.1+esm1 aktualisieren
jinja2 Ubuntu:Pro:18.04:LTS
- Softwareversionen
- 2.9.6-1
- 2.10-1
- 2.10-1ubuntu0.18.04.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.10-1ubuntu0.18.04.1+esm1
Auf 2.10-1ubuntu0.18.04.1+esm1 aktualisieren
jinja2 Ubuntu:20.04:LTS
- Softwareversionen
- 2.10-2ubuntu1
- 2.10-2ubuntu2
- 2.10.1-1ubuntu1
- 2.10.1-2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.10.1-2ubuntu0.2
Auf 2.10.1-2ubuntu0.2 aktualisieren
Originalquellen
- 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