{"id":"ALPINE-CVE-2020-28493","details":"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.","modified":"2026-03-09T01:20:24.201704Z","published":"2021-02-01T20:15:12.517Z","upstream":["CVE-2020-28493"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-28493"}],"affected":[{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}},{"package":{"name":"py3-jinja2","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/py3-jinja2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-28493.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}