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.
CVSS Details
- CVSS 3.1 Base Score: 5.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade python2-PyMySQLUpgrade python38-markupsafeUpgrade python2-pytestUpgrade python38-babelUpgrade python2-pygmentsUpgrade python38-sixUpgrade python2-jinja2Upgrade python2-dnsUpgrade python38-CythonUpgrade python2-sqlalchemyUpgrade python2-sixUpgrade python2-urllib3Upgrade python2-attrsUpgrade python2-pysocksUpgrade python3-jinja2Upgrade python2-docutilsUpgrade python38-pycparserUpgrade python2-wheelUpgrade babelUpgrade python2-requestsUpgrade python-psycopg2-docUpgrade python2-numpy-f2pyUpgrade python38-setuptools-wheelUpgrade python2-backports-ssl_match_hostnameUpgrade python38-numpy-docUpgrade python38-atomicwritesUpgrade python2-numpyUpgrade python38-scipyUpgrade python2-bsonUpgrade python2-psycopg2-debugUpgrade python38-idnaUpgrade python2-CythonUpgrade python38-wcwidthUpgrade python2-backportsUpgrade python2-mockUpgrade python2-funcsigsUpgrade python2-pyUpgrade python2-docs-infoUpgrade python2-setuptools_scmUpgrade python38-packagingUpgrade python38-numpy-f2pyUpgrade python2-pymongo-gridfsUpgrade python38-pytestUpgrade python38-PyMySQLUpgrade python2-rpm-macrosUpgrade python38-pytzUpgrade python2-markupsafeUpgrade python2-pytzUpgrade python2-virtualenvUpgrade python38-wheelUpgrade python38-psycopg2-testsUpgrade python38-pyparsingUpgrade python38-pysocksUpgrade python38-pyyamlUpgrade python38-psycopg2-docUpgrade python2-setuptools-wheelUpgrade python2-numpy-docUpgrade python38-pluggyUpgrade python38-mod_wsgiUpgrade python2-coverageUpgrade python2-pluggyUpgrade python38-more-itertoolsUpgrade python38-attrsUpgrade python2-docsUpgrade python2-psycopg2-testsUpgrade python38-psutilUpgrade python-sqlalchemy-docUpgrade python2-scipyUpgrade python38-cffiUpgrade python38-chardetUpgrade python2-chardetUpgrade python38-requestsUpgrade python2-setuptoolsUpgrade python38-jinja2Upgrade python2-ipaddressUpgrade python-nose-docsUpgrade python2-pytest-mockUpgrade python38-cryptographyUpgrade python38-psycopg2Upgrade python38-plyUpgrade python38-urllib3Upgrade python38-numpyUpgrade python2-babelUpgrade python38-pyUpgrade python2-psycopg2Upgrade python2-pyyamlUpgrade python38-asn1cryptoUpgrade python2-pymongoUpgrade python38-setuptoolsUpgrade python2-noseUpgrade python2-wheel-wheelUpgrade python38-wheel-wheelUpgrade python2-idna | May 4, 2022 | Feb 1, 2021 |
| Alpine Linux | — | Upgrade py3-jinja2 | Aug 22, 2024 | Feb 1, 2021 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Feb 1, 2021 |
| Centos_linux | — | Upgrade python2-pysocksUpgrade python2-coverage-debuginfoUpgrade python2-numpy-docUpgrade python2-psycopg2-debuginfoUpgrade python2-setuptoolsUpgrade python38-pycparserUpgrade babelUpgrade python3-jinja2Upgrade python2-backportsUpgrade python2-setuptools_scmUpgrade python2-funcsigsUpgrade python-cffi-debugsourceUpgrade python2-attrsUpgrade python2-pytzUpgrade python2-pip-wheelUpgrade python2-wheel-wheelUpgrade python38-numpy-f2pyUpgrade python2-requestsUpgrade python2-scipyUpgrade python38-psutil-debuginfoUpgrade python2-pytest-mockUpgrade python38-requestsUpgrade python-psutil-debugsourceUpgrade python38-numpy-debuginfoUpgrade python38-psycopg2Upgrade python2-debugsourceUpgrade python2-lxmlUpgrade python2-psycopg2-debugUpgrade python2-jinja2Upgrade python2-pyUpgrade python38-PyMySQLUpgrade python-markupsafe-debugsourceUpgrade python2-pytestUpgrade python2-dnsUpgrade python2-docs-infoUpgrade python38-numpy-docUpgrade python2-virtualenvUpgrade python38-pytzUpgrade python-sqlalchemy-docUpgrade python2Upgrade python-psycopg2-debugsourceUpgrade python38-setuptools-wheelUpgrade python38-pipUpgrade python2-sqlalchemyUpgrade python38-psycopg2-testsUpgrade python38-scipy-debuginfoUpgrade python38-psycopg2-debuginfoUpgrade python38-wheel-wheelUpgrade python38-idnaUpgrade python2-mockUpgrade python2-pygmentsUpgrade python2-pymongo-gridfsUpgrade python2-debuginfoUpgrade python2-PyMySQLUpgrade python38-develUpgrade numpy-debugsourceUpgrade python2-bsonUpgrade python2-testUpgrade python38-debugUpgrade python38-debugsourceUpgrade python38-Cython-debuginfoUpgrade python2-develUpgrade python2-tkinterUpgrade python38-CythonUpgrade python38-tkinterUpgrade python38-asn1cryptoUpgrade python38-rpm-macrosUpgrade python38-sixUpgrade python38-pyyamlUpgrade PyYAML-debugsourceUpgrade scipy-debugsourceUpgrade python38-babelUpgrade python2-pymongoUpgrade python2-markupsafeUpgrade python2-urllib3Upgrade python2-pluggyUpgrade python-pymongo-debugsourceUpgrade python-cryptography-debugsourceUpgrade python2-ipaddressUpgrade python2-debugUpgrade python38-wheelUpgrade python-coverage-debugsourceUpgrade python2-wheelUpgrade python2-pymongo-debuginfoUpgrade python2-Cython-debuginfoUpgrade python38-numpyUpgrade python2-idnaUpgrade python38-plyUpgrade python2-bson-debuginfoUpgrade python2-libsUpgrade python38-psutilUpgrade python2-numpy-f2pyUpgrade python38-debuginfoUpgrade python2-sixUpgrade python2-scipy-debuginfoUpgrade python2-psycopg2Upgrade python2-noseUpgrade python2-docsUpgrade python-psycopg2-docUpgrade python38-lxml-debuginfoUpgrade python38-jinja2Upgrade python38-idleUpgrade python38-cryptography-debuginfoUpgrade python2-psycopg2-debug-debuginfoUpgrade python38-markupsafe-debuginfoUpgrade python2-pipUpgrade python2-numpyUpgrade python38-cffiUpgrade python2-lxml-debuginfoUpgrade python2-coverageUpgrade python2-babelUpgrade python-psycopg2-debuginfoUpgrade python38-lxmlUpgrade python38-chardetUpgrade python38-cffi-debuginfoUpgrade python38-mod_wsgiUpgrade python2-psycopg2-testsUpgrade python2-docutilsUpgrade python2-numpy-debuginfoUpgrade python38-urllib3Upgrade python38-pip-wheelUpgrade python38-testUpgrade python2-setuptools-wheelUpgrade python2-CythonUpgrade python38-setuptoolsUpgrade python38-libsUpgrade python38-cryptographyUpgrade Cython-debugsourceUpgrade python-pymongo-debuginfoUpgrade python2-chardetUpgrade python-lxml-debugsourceUpgrade python2-toolsUpgrade python2-pyyamlUpgrade python38-scipyUpgrade python38-pyyaml-debuginfoUpgrade python38-markupsafeUpgrade python2-rpm-macrosUpgrade python2-pyyaml-debuginfoUpgrade python2-backports-ssl_match_hostnameUpgrade python38-psycopg2-docUpgrade python38-pysocksUpgrade python-nose-docsUpgrade python38 | Nov 10, 2021 | Feb 1, 2021 |
| Debian | — | Upgrade jinja2 | Jul 30, 2024 | Feb 1, 2021 |
| Gentoo Linux | — | Upgrade dev-python/jinja. | Jul 9, 2021 | Feb 1, 2021 |
| Huawei Euleros 2_0_sp3 | — | Upgrade python-jinja2 | Oct 26, 2021 | Feb 1, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade python-jinja2 | Sep 29, 2021 | Feb 1, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade python3-jinja2Upgrade python2-jinja2 | Sep 24, 2021 | Feb 1, 2021 |
| Huawei Euleros 2_0_sp9 | — | Upgrade python3-jinja2 | Sep 29, 2021 | Feb 1, 2021 |
| Oracle Solaris | — | Upgrade library/python/jinja2-37 to version 2.11.3-11.4.33.0.1.94.0 on Solaris 11.4Upgrade library/python/jinja2-39 to version 2.11.3-11.4.33.0.1.94.0 on Solaris 11.4Upgrade library/python/jinja2 to version 2.11.3-11.4.33.0.1.94.0 on Solaris 11.4Upgrade library/python/jinja2-27 to version 2.11.3-11.4.33.0.1.94.0 on Solaris 11.4 | May 19, 2021 | Feb 1, 2021 |
| Oracle_linux | — | Upgrade python38-pyUpgrade python2-numpyUpgrade python2-pipUpgrade python38-psutilUpgrade python38-plyUpgrade python38-jinja2Upgrade python38-idleUpgrade python38Upgrade python2-wheel-wheelUpgrade python2-pyyamlUpgrade python38-scipyUpgrade python38-wheelUpgrade python38-setuptoolsUpgrade python38-pysocksUpgrade python38-pyparsingUpgrade python38-pip-wheelUpgrade python2-setuptoolsUpgrade python2-pymongoUpgrade python2-coverageUpgrade python2-urllib3Upgrade python38-numpyUpgrade python38-libsUpgrade python38-idnaUpgrade python2-pyUpgrade python2-pluggyUpgrade python-nose-docsUpgrade python-psycopg2-docUpgrade python38-tkinterUpgrade python38-setuptools-wheelUpgrade python2-idnaUpgrade python2-setuptools-wheelUpgrade python38-psycopg2-docUpgrade python38-more-itertoolsUpgrade python38-lxmlUpgrade python38-cffiUpgrade python2-sixUpgrade python38-psycopg2-testsUpgrade python38-numpy-f2pyUpgrade python38-mod_wsgiUpgrade python2-debugUpgrade python38-urllib3Upgrade python38-requestsUpgrade python2-noseUpgrade python2-chardetUpgrade python38-cryptographyUpgrade python2-jinja2Upgrade python2-backports-ssl_match_hostnameUpgrade python2-libsUpgrade python2-numpy-f2pyUpgrade python38-markupsafeUpgrade python38-attrsUpgrade python38-psycopg2Upgrade python2-babelUpgrade python2-ipaddressUpgrade python38-testUpgrade python2-CythonUpgrade python38-wheel-wheelUpgrade python2-psycopg2Upgrade python2-backportsUpgrade python38-PyMySQLUpgrade babelUpgrade python2-dnsUpgrade python2-PyMySQLUpgrade python38-atomicwritesUpgrade python2-wheelUpgrade python38-debugUpgrade python38-pyyamlUpgrade python38-pipUpgrade python2-lxmlUpgrade python2-requestsUpgrade python38-babelUpgrade python2-toolsUpgrade python38-develUpgrade python2-pytest-mockUpgrade python2-tkinterUpgrade python2-virtualenvUpgrade python38-pluggyUpgrade python-sqlalchemy-docUpgrade python2-pip-wheelUpgrade python2-pygmentsUpgrade python2-psycopg2-debugUpgrade python2-pytzUpgrade python38-pytestUpgrade python2-markupsafeUpgrade python2-pysocksUpgrade python38-asn1cryptoUpgrade python38-pycparserUpgrade python2-bsonUpgrade python38-pytzUpgrade python2-attrsUpgrade python2-numpy-docUpgrade python2-docutilsUpgrade python2-mockUpgrade python2-pytestUpgrade python38-numpy-docUpgrade python2-funcsigsUpgrade python2-docsUpgrade python2-psycopg2-testsUpgrade python38-CythonUpgrade python2-develUpgrade python2-sqlalchemyUpgrade python38-rpm-macrosUpgrade python38-wcwidthUpgrade python2Upgrade python2-docs-infoUpgrade python38-packagingUpgrade python38-chardetUpgrade python38-sixUpgrade python2-pymongo-gridfsUpgrade python2-rpm-macrosUpgrade python2-scipyUpgrade python2-testUpgrade python2-setuptools_scm | Jul 22, 2024 | Feb 1, 2021 |
| Redhat_linux | — | Upgrade python38-CythonUpgrade python-nose-docsUpgrade python2-chardetUpgrade python2-pyyamlUpgrade python38-debuginfoUpgrade python38-libsUpgrade python2-coverageUpgrade python2-debuginfoUpgrade python2-pymongo-gridfsUpgrade python2-Cython-debuginfoUpgrade python2-lxml-debuginfoUpgrade python-lxml-debugsourceUpgrade python2-mockUpgrade python-pymongo-debugsourceUpgrade PyYAML-debugsourceUpgrade python38-cffiUpgrade python38-babelUpgrade python38-attrsUpgrade python38-lxmlUpgrade python38-numpy-debuginfoUpgrade python38Upgrade python38-chardetUpgrade python2-dnsUpgrade python2-docsUpgrade python38-pyUpgrade python38-idleUpgrade python38-markupsafeUpgrade python38-pyparsingUpgrade python2-pytestUpgrade python38-atomicwritesUpgrade python-pymongo-debuginfoUpgrade python38-debugsourceUpgrade python38-urllib3Upgrade python38-scipy-debuginfoUpgrade python2-coverage-debuginfoUpgrade python38-pipUpgrade python2-libsUpgrade python2-bson-debuginfoUpgrade python38-pycparserUpgrade python2-rpm-macrosUpgrade python2-numpy-debuginfoUpgrade python2-numpyUpgrade python38-numpyUpgrade python-cffi-debugsourceUpgrade python2-backportsUpgrade python2-pipUpgrade python3-jinja2Upgrade python38-PyMySQLUpgrade python2-testUpgrade python2-setuptools-wheelUpgrade python-psycopg2-debuginfoUpgrade python2-numpy-f2pyUpgrade python38-pysocksUpgrade python2-docs-infoUpgrade python2-psycopg2-debug-debuginfoUpgrade python38-pyyaml-debuginfoUpgrade python38-testUpgrade python2-psycopg2-testsUpgrade python2Upgrade python2-wheelUpgrade python2-psycopg2-debugUpgrade python38-cryptographyUpgrade python38-setuptools-wheelUpgrade python-psycopg2-docUpgrade python2-pip-wheelUpgrade python2-backports-ssl_match_hostnameUpgrade python38-pip-wheelUpgrade python2-sixUpgrade python2-bsonUpgrade python-coverage-debugsourceUpgrade python2-pytzUpgrade python2-pysocksUpgrade python2-urllib3Upgrade python38-lxml-debuginfoUpgrade python2-ipaddressUpgrade python2-CythonUpgrade python38-scipyUpgrade python38-psutilUpgrade python2-debugUpgrade python38-wcwidthUpgrade python2-attrsUpgrade python2-pyUpgrade python38-sixUpgrade python38-pyyamlUpgrade python38-rpm-macrosUpgrade python38-psycopg2Upgrade python2-pymongo-debuginfoUpgrade python2-PyMySQLUpgrade python38-pluggyUpgrade python2-scipy-debuginfoUpgrade Cython-debugsourceUpgrade python38-psycopg2-docUpgrade numpy-debugsourceUpgrade python38-debugUpgrade python38-markupsafe-debuginfoUpgrade python2-pymongoUpgrade python38-tkinterUpgrade python2-pluggyUpgrade python38-numpy-docNo solution existsUpgrade python2-docutilsUpgrade python38-requestsUpgrade python2-markupsafeUpgrade python38-mod_wsgiUpgrade python-sqlalchemy-docUpgrade python38-pytestUpgrade python38-psutil-debuginfoUpgrade python38-idnaUpgrade python38-cffi-debuginfoUpgrade python38-psycopg2-debuginfoUpgrade python38-psycopg2-testsUpgrade python2-scipyUpgrade python38-plyUpgrade python2-setuptools_scmUpgrade python2-virtualenvUpgrade python2-toolsUpgrade python2-develUpgrade python-cryptography-debugsourceUpgrade python2-psycopg2-debuginfoUpgrade python38-wheelUpgrade python2-noseUpgrade python38-Cython-debuginfoUpgrade python38-develUpgrade python38-more-itertoolsUpgrade python2-wheel-wheelUpgrade python38-wheel-wheelUpgrade python2-lxmlUpgrade python38-numpy-f2pyUpgrade python2-tkinterUpgrade python38-cryptography-debuginfoUpgrade python-psycopg2-debugsourceUpgrade python38-jinja2Upgrade python2-pyyaml-debuginfoUpgrade python2-pytest-mockUpgrade python2-funcsigsUpgrade python2-numpy-docUpgrade python38-setuptoolsUpgrade babelUpgrade python2-sqlalchemyUpgrade python2-psycopg2Upgrade scipy-debugsourceUpgrade python38-pytzUpgrade python2-debugsourceUpgrade python2-babelUpgrade python2-idnaUpgrade python38-packagingUpgrade python2-requestsUpgrade python2-pygmentsUpgrade python-psutil-debugsourceUpgrade python2-setuptoolsUpgrade python38-asn1cryptoUpgrade python2-jinja2Upgrade python-markupsafe-debugsource | Nov 10, 2021 | Feb 1, 2021 |
| Rocky_linux | — | Upgrade python2-libsUpgrade python38-pyyamlUpgrade python2-backportsUpgrade python2-CythonUpgrade python2-testUpgrade python38-scipy-debuginfoUpgrade python38-psutilUpgrade PyYAML-debugsourceUpgrade python38-debuginfoUpgrade python38-scipyUpgrade python-pymongo-debugsourceUpgrade python-cffi-debugsourceUpgrade python38-numpy-debuginfoUpgrade python2-bsonUpgrade python38Upgrade python2-Cython-debuginfoUpgrade python38-CythonUpgrade python2-debuginfoUpgrade python38-Cython-debuginfoUpgrade python2-psycopg2-debugUpgrade python2-lxml-debuginfoUpgrade python38-lxmlUpgrade python2Upgrade python38-pyyaml-debuginfoUpgrade python38-testUpgrade python2-bson-debuginfoUpgrade python-coverage-debugsourceUpgrade python38-numpyUpgrade python38-markupsafeUpgrade python2-numpyUpgrade python38-lxml-debuginfoUpgrade python2-psycopg2-debug-debuginfoUpgrade python-psycopg2-docUpgrade python38-idleUpgrade python-cryptography-debugsourceUpgrade python2-toolsUpgrade python2-pymongo-gridfsUpgrade python38-debugsourceUpgrade python2-numpy-debuginfoUpgrade python2-numpy-f2pyUpgrade python-lxml-debugsourceUpgrade python2-coverage-debuginfoUpgrade python2-debugUpgrade python2-sqlalchemyUpgrade python38-cryptographyUpgrade python38-markupsafe-debuginfoUpgrade python2-pymongoUpgrade python2-lxmlUpgrade numpy-debugsourceUpgrade python38-psycopg2-testsUpgrade python-psutil-debugsourceUpgrade python38-debugUpgrade python38-psycopg2-docUpgrade python38-cffiUpgrade python2-debugsourceUpgrade python2-psycopg2-debuginfoUpgrade python38-cryptography-debuginfoUpgrade python38-mod_wsgiUpgrade python38-libsUpgrade python2-develUpgrade python38-tkinterUpgrade python2-pymongo-debuginfoUpgrade python2-scipy-debuginfoUpgrade python2-pyyaml-debuginfoUpgrade Cython-debugsourceUpgrade python2-markupsafeUpgrade python38-psutil-debuginfoUpgrade python38-psycopg2Upgrade python38-cffi-debuginfoUpgrade python2-coverageUpgrade python38-psycopg2-debuginfoUpgrade python38-develUpgrade python38-numpy-f2pyUpgrade python2-psycopg2-testsUpgrade python2-psycopg2Upgrade python-pymongo-debuginfoUpgrade python-psycopg2-debugsourceUpgrade python-psycopg2-debuginfoUpgrade python-markupsafe-debugsourceUpgrade scipy-debugsourceUpgrade python2-tkinterUpgrade python2-pyyamlUpgrade python2-scipy | Mar 12, 2024 | Feb 1, 2021 |
| Suse | — | Upgrade python-Jinja2Upgrade python3-Jinja2Upgrade python2-Jinja2 | Feb 26, 2021 | Feb 1, 2021 |
| Ubuntu | — | Upgrade python-jinja2 (Ubuntu Pro)Upgrade python3-jinja2 (Ubuntu Pro)Upgrade python-jinja2Upgrade python3-jinja2 | Oct 27, 2022 | Feb 1, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub