CVE-2020-28493
CVSS V2 Medium 5
CVSS V3 Medium 5.3
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.
Overview
- CVE ID
- CVE-2020-28493
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-01T20:15:12
- Last Modified Date
- 2022-04-08T14:05:34
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:palletsprojects:jinja:*:*:*:*:*:*:*:* | 1 | OR | 2.11.3 | |
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- LOW
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://github.com/pallets/jinja/blob/ab81fd9c277900c85da0c322a2ff9d68a235b2e6/src/jinja2/utils.py%23L20 | Broken Link |
https://github.com/pallets/jinja/pull/1343 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994 | Exploit Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVAKCOO7VBVUBM3Q6CBBTPBFNP5NDXF4/ | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202107-19 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-28493 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28493 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:29:01 | Added to TrackCVE | |||
2022-12-05 21:11:14 | 2021-02-01T20:15Z | 2021-02-01T20:15:12 | CVE Published Date | updated |
2022-12-05 21:11:14 | 2022-04-08T14:05:34 | CVE Modified Date | updated | |
2022-12-05 21:11:14 | Analyzed | Vulnerability Status | updated |