You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
Description
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDOS vulnerability of the regex is mainly due to the sub-pattern [a-zA-Z0-9._-]+.[a-zA-Z0-9._-]+ 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.
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.
Initial Analysis by NIST2/03/2021 10:28:02 AM
Action
Type
Old Value
New Value
Added
CVSS V2
NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
Added
CWE
NIST NVD-CWE-noinfo
Added
CPE Configuration
OR
*cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:* versions up to (excluding) 2.11.3
Changed
Reference Type
https://github.com/pallets/jinja/blob/ab81fd9c277900c85da0c322a2ff9d68a235b2e6/src/jinja2/utils.py%23L20 No Types Assigned
https://github.com/pallets/jinja/blob/ab81fd9c277900c85da0c322a2ff9d68a235b2e6/src/jinja2/utils.py%23L20 Broken Link
Changed
Reference Type
https://github.com/pallets/jinja/pull/1343 No Types Assigned
https://github.com/pallets/jinja/pull/1343 Patch, Third Party Advisory
Changed
Reference Type
https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994 No Types Assigned
https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994 Exploit, Third Party Advisory
Quick Info
CVE Dictionary Entry: CVE-2020-28493 NVD
Published Date: 02/01/2021 NVD
Last Modified: 11/21/2024
Source: Snyk