CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LMedium (5.3). EPSS 3.6% estimated probability of exploitation activity in the next 30 days. Fixed in jinja2 2.11.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Ljinja2 (PyPI): fixed in 2.11.3Explain CVE-2020-28493 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-28493?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-28493?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-28493 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| palletsprojects:jinja | before 2.11.3 |
| fedoraproject:fedora | 33 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-g3rq-g295-4j3m | PyPI | jinja2 | <2.11.3 | 2.11.3 |
| PYSEC-2021-66 | PyPI | jinja2 | <2.11.3 | 2.11.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | jinja2 | 2.11.3-1 | DEBIAN-CVE-2020-28493 |
| Ubuntu | 20.04:LTS | jinja2 | 2.10.1-2ubuntu0.2 | UBUNTU-CVE-2020-28493 USN-6599-1 |
| Ubuntu | 22.04:LTS | jinja2 | 3.0.3-1ubuntu0.1 | USN-6599-1 |
| Ubuntu | Pro:14.04:LTS | jinja2 | 2.7.2-2ubuntu0.1~esm2 | UBUNTU-CVE-2020-28493 USN-6599-1 |
| Ubuntu | Pro:16.04:LTS | jinja2 | 2.8-1ubuntu0.1+esm1 | UBUNTU-CVE-2020-28493 USN-5701-1 USN-6599-1 |
| Ubuntu | Pro:18.04:LTS | jinja2 | 2.10-1ubuntu0.18.04.1+esm1 | UBUNTU-CVE-2020-28493 USN-6599-1 |
| Red Hat | enterprise_linux:8::appstream | Cython, python2-Cython, Cython-debugsource and 1 more | 0:0.28.1-7.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| Red Hat | enterprise_linux:8::appstream | Cython, python38-Cython, Cython-debugsource and 1 more | 0:0.29.14-4.module+el8.4.0+8888+89bc7e79 | RHSA-2021:4162 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python2-pyyaml, PyYAML-debugsource and 1 more | 0:3.12-16.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python38-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.5.0+10721+14d8e0d5 | RHSA-2021:4162 |
| Red Hat | enterprise_linux:8::appstream | babel, python2-babel | 0:2.5.1-10.module+el8.5.0+11014+88fc0d0b | RHSA-2021:4151 |
| Red Hat | enterprise_linux:8::appstream | babel, python38-babel | 0:2.7.0-11.module+el8.5.0+11015+9c1c7c42 | RHSA-2021:4162 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python38-mod_wsgi | 0:4.6.8-3.module+el8.4.0+8888+89bc7e79 | RHSA-2021:4162 |
| Red Hat | enterprise_linux:8::appstream | numpy, python2-numpy, numpy-debugsource and 3 more | 1:1.14.2-16.module+el8.4.0+9406+221a4565 | RHSA-2021:4151 |
| Red Hat | enterprise_linux:8::appstream | numpy, python38-numpy, numpy-debugsource and 3 more | 0:1.17.3-6.module+el8.5.0+12205+a865257a | RHSA-2021:4162 |
| Red Hat | enterprise_linux:8::appstream | pytest, python2-pytest | 0:3.4.2-13.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python2-PyMySQL | 0:0.8.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2021:4151 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python38-PyMySQL | 0:0.10.1-1.module+el8.4.0+9692+8e86ab84 | RHSA-2021:4162 |
| 79 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 more | python-Jinja2 | 2.10.1-3.10.2 | SUSE-SU-2021:0654-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | python-Jinja2 | 2.9.6-3.6.1 | SUSE-SU-2021:0603-1 |
| SUSE | Linux Enterprise Module for Advanced Systems Management 12, Linux Enterprise Module for Public Cloud 12, Manager Client Tools 12 | python-Jinja2 | 2.8-19.23.1 | SUSE-SU-2021:0607-1 |
| SUSE | Linux Enterprise Point of Sale 12 SP2, OpenStack Cloud 7 | python-Jinja2 | 2.8-22.11.1 | SUSE-SU-2021:0601-1 |
| SUSE | Linux Enterprise Server 11 SP3-CLIENT-TOOLS, Linux Enterprise Server 11 SP4-CLIENT-TOOLS, Linux Enterprise Server 11-PUBCLOUD | python-Jinja2 | 2.6-2.19.5.1 | SUSE-SU-2021:14644-1 |
| SUSE | OpenStack Cloud 9, OpenStack Cloud Crowbar 9 | python-Jinja2 | 2.10.1-3.6.1 | SUSE-SU-2021:0602-1 |
| openSUSE | Tumbleweed | python-Jinja2 | 3.0.1-3.2 | openSUSE-SU-2024:11208-1 |
| openSUSE | Tumbleweed | python-Jinja2 | 3.1.4-1.1 | openSUSE-SU-2024:13930-1 |
| openSUSE | Tumbleweed | python-Jinja2 | 3.1.6-2.4 | openSUSE-SU-2026:11992-1 |
| AlmaLinux | 8 | babel, python2-babel | 2.5.1-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python-nose-docs | 1.3.7-31.module_el8.5.0+2569+5c5719bc | ALSA-2021:4151 |
| AlmaLinux | 8 | python-sqlalchemy-doc | 1.3.2-2.module_el8.5.0+2569+5c5719bc | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-Cython | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-PyMySQL | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-attrs | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-backports | 1.0-16.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-backports-ssl_match_hostname | 3.5.0.1-12.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-bson, python2-pymongo, python2-pymongo-gridfs | 3.7.0-1.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-chardet | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-coverage | 4.5.1-4.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| AlmaLinux | 8 | python2-dns | 1.15.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:4151 |
| 64 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.5.0+706+735ec4b3 | RLSA-2021:4151 |
| Rocky Linux | 8 | Cython | 0:0.29.14-4.module+el8.4.0+570+c2eaf144 | RLSA-2021:4162 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.5.0+706+735ec4b3 | RLSA-2021:4151 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.4.0+574+843c4898 | RLSA-2021:4162 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.5.0+672+ab6eb015 | RLSA-2021:4162 |
| Rocky Linux | 8 | babel | 0:2.5.1-10.module+el8.5.0+706+735ec4b3 | RLSA-2021:4151 |
| Rocky Linux | 8 | babel | 0:2.7.0-11.module+el8.5.0+672+ab6eb015 | RLSA-2021:4162 |
| Rocky Linux | 8 | mod_wsgi | 0:4.6.8-3.module+el8.4.0+570+c2eaf144 | RLSA-2021:4162 |
| Rocky Linux | 8 | numpy | 0:1.17.3-6.module+el8.5.0+672+ab6eb015 | RLSA-2021:4162 |
| Rocky Linux | 8 | numpy | 1:1.14.2-16.module+el8.4.0+403+9ae17a31 | RLSA-2021:4151 |
| 96 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.14, v3.15, v3.16 and 8 more | py3-jinja2 | 1.11.3-r0 | ALPINE-CVE-2020-28493 |
| Azure Linux | 3 | nodejs | 20.14.0-1 | AZL-40857 |
| Azure Linux | 3 | nodejs24 | 24.13.0-1 | AZL-75813 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This flaw is out of support scope for the following products:
* Red Hat Enterprise Linux 6
* Red Hat Enterprise Linux 7
* Red Hat Ceph Storage 2
To learn more about Red Hat Enterprise Linux support scopes, please see https://access.redhat.com/support/policy/updates/errata/
In Red Hat OpenStack Platform, because python-jinja2 is not directly customer exposed, the Impact has been moved to Low and no updated will be provided at this time for the RHOSP python-jinja2 package.
Red Hat Quay does not make use of the vulnerable function, so the impact is Low.
If using the jinja2 library as a developer, this flaw can be mitigated by not using the vulnerable urlize() filter, and instead, using Markdown to format user content.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python27:2.7-8050020210811095446.3e7ace8b | Fixed 2021-11-09 | RHSA-2021:4151 |
| Red Hat Enterprise Linux 8 | python-jinja2-0:2.10.1-3.el8 | Fixed 2021-11-09 | RHSA-2021:4161 |
| Red Hat Enterprise Linux 8 | python38:3.8-8050020210811101222.e3d35cca | Fixed 2021-11-09 | RHSA-2021:4162 |
| Red Hat Enterprise Linux 8 | python38-devel:3.8-8050020210811101222.e3d35cca | Fixed 2021-11-09 | RHSA-2021:4162 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-babel-0:0.9.6-10.el7 | Fixed 2021-08-24 | RHSA-2021:3252 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-0:2.7.18-3.el7 | Fixed 2021-08-24 | RHSA-2021:3252 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-jinja2-0:2.6-16.el7 | Fixed 2021-08-24 | RHSA-2021:3252 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-pygments-0:1.5-5.el7 | Fixed 2021-08-24 | RHSA-2021:3252 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-babel-0:2.7.0-12.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-0:3.8.11-2.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Ansible Automation Platform 1.2 | jinja2 | Not affected | |
| Red Hat Ansible Automation Platform 1.2 | python-jinja2 | Not affected | |
| Red Hat Ansible Tower 3 | jinja2 | Not affected | |
| Red Hat Ceph Storage 2 | python-jinja2 | Out of support scope | |
| Red Hat Ceph Storage 3 | python-jinja2 | Will not fix | |
| Red Hat Enterprise Linux 6 | python-jinja2 | Out of support scope | |
| Red Hat Enterprise Linux 7 | python-jinja2 | Out of support scope | |
| Red Hat Enterprise Linux 9 | python-jinja2 | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | python-jinja2 | Will not fix | |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected | |
| 17 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-28493.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.