CVE-2020-28493

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-28493
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28493.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-28493
Aliases
Related
Published
2021-02-01T20:15:12Z
Modified
2024-12-05T15:27:27.793112Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
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.

References

Affected packages

Alpine:v3.14 / py3-jinja2

Package

Name
py3-jinja2
Purl
pkg:apk/alpine/py3-jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3-r0

Alpine:v3.15 / py3-jinja2

Package

Name
py3-jinja2
Purl
pkg:apk/alpine/py3-jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3-r0

Alpine:v3.16 / py3-jinja2

Package

Name
py3-jinja2
Purl
pkg:apk/alpine/py3-jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3-r0

Alpine:v3.17 / py3-jinja2

Package

Name
py3-jinja2
Purl
pkg:apk/alpine/py3-jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3-r0

Alpine:v3.18 / py3-jinja2

Package

Name
py3-jinja2
Purl
pkg:apk/alpine/py3-jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3-r0

Alpine:v3.19 / py3-jinja2

Package

Name
py3-jinja2
Purl
pkg:apk/alpine/py3-jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3-r0

Alpine:v3.20 / py3-jinja2

Package

Name
py3-jinja2
Purl
pkg:apk/alpine/py3-jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3-r0

Alpine:v3.21 / py3-jinja2

Package

Name
py3-jinja2
Purl
pkg:apk/alpine/py3-jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3-r0

Debian:11 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / jinja2

Package

Name
jinja2
Purl
pkg:deb/debian/jinja2?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/pallets/jinja

Affected ranges

Type
GIT
Repo
https://github.com/pallets/jinja
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

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.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