VDB

ALPINE-CVE-2020-28493

ALPINE-CVE-2020-28493 PUBLISHED CVSS 5.300000190734863 MEDIUM

Record from OSV · Published February 1, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
py3-jinja2Alpine:v3.161.11.3-r0
py3-jinja2Alpine:v3.221.11.3-r0
py3-jinja2Alpine:v3.141.11.3-r0
py3-jinja2Alpine:v3.171.11.3-r0
py3-jinja2Alpine:v3.241.11.3-r0
py3-jinja2Alpine:v3.151.11.3-r0
py3-jinja2Alpine:v3.211.11.3-r0
py3-jinja2Alpine:v3.201.11.3-r0
py3-jinja2Alpine:v3.231.11.3-r0
py3-jinja2Alpine:v3.191.11.3-r0
py3-jinja2Alpine:v3.181.11.3-r0

Risk scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
Alpine:v3.16py3-jinja20
Alpine:v3.22py3-jinja20
Alpine:v3.14py3-jinja20
Alpine:v3.17py3-jinja20
Alpine:v3.24py3-jinja20
Alpine:v3.15py3-jinja20
Alpine:v3.21py3-jinja20
Alpine:v3.20py3-jinja20
Alpine:v3.23py3-jinja20
Alpine:v3.19py3-jinja20
Alpine:v3.18py3-jinja20

Timeline

  • Feb 1, 2021 CVE Published
  • Aug 5, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2020-28493
vulnetix vdb fixes ALPINE-CVE-2020-28493

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2020-28493/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›