In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade resource-agents-pafUpgrade python2-pymongoUpgrade python2-pymongo-gridfsUpgrade python2-attrsUpgrade python-psycopg2-docUpgrade python36-develUpgrade python2-pyyamlUpgrade python2-setuptools-wheelUpgrade python2-wheel-wheelUpgrade python2-urllib3Upgrade resource-agents-gcpUpgrade python3-wheelUpgrade python3-scipyUpgrade python2-backports-ssl_match_hostnameUpgrade python2-noseUpgrade python-nose-docsUpgrade resource-agents-aliyunUpgrade python2-mockUpgrade python2-docsUpgrade python2-wheelUpgrade python2-bsonUpgrade python2-chardetUpgrade python2-sixUpgrade python2-pygmentsUpgrade python36-debugUpgrade python2-psycopg2Upgrade python3-distroUpgrade python2-psycopg2-testsUpgrade python2-numpy-f2pyUpgrade python3-pymongoUpgrade python3-docsUpgrade resource-agentsUpgrade python2-pysocksUpgrade python2-psycopg2-debugUpgrade python2-pytestUpgrade python3-noseUpgrade python2-dnsUpgrade python2-rpm-macrosUpgrade python2-requestsUpgrade python3-virtualenvUpgrade python3-sqlalchemyUpgrade python-sqlalchemy-docUpgrade python2-pyUpgrade python3-pygmentsUpgrade python2-PyMySQLUpgrade python2-numpy-docUpgrade python2-setuptools_scmUpgrade python2-markupsafeUpgrade python3-docutilsUpgrade python2-docutilsUpgrade python3-PyMySQLUpgrade python2-pytzUpgrade python2-numpyUpgrade python2-pytest-mockUpgrade python2-docs-infoUpgrade python36Upgrade python2-ipaddressUpgrade python-virtualenv-docUpgrade babelUpgrade python2-coverageUpgrade python3-bsonUpgrade python2-sqlalchemyUpgrade python2-pluggyUpgrade python2-setuptoolsUpgrade python-pymongo-docUpgrade python2-idnaUpgrade python2-CythonUpgrade python36-rpm-macrosUpgrade python2-funcsigsUpgrade python2-babelUpgrade python2-virtualenvUpgrade python3-wheel-wheelUpgrade python3-pymongo-gridfsUpgrade python2-backportsUpgrade python2-scipyUpgrade python2-jinja2 | May 4, 2022 | Mar 17, 2021 |
| Alpine Linux | — | Upgrade py3-pygments | Oct 1, 2024 | Mar 17, 2021 |
| Amazon Linux Ami 2 | — | Upgrade python3-pygmentsUpgrade python-pygmentsUpgrade python3-pygments-doc | Jul 21, 2023 | Mar 17, 2021 |
| Centos_linux | — | Upgrade python36Upgrade python2-libsUpgrade python2-Cython-debuginfoUpgrade python2-pytzUpgrade python2-jinja2Upgrade python2-bson-debuginfoUpgrade python2-pip-wheelUpgrade python2-pyUpgrade python2-urllib3Upgrade python2-toolsUpgrade python2-develUpgrade python2-numpy-debuginfoUpgrade python2-pymongo-gridfsUpgrade python2-psycopg2-debugUpgrade python2-PyMySQLUpgrade python2-pipUpgrade python2-pysocksUpgrade python-virtualenv-docUpgrade python2-chardetUpgrade python2-numpyUpgrade python2-scipyUpgrade python2-markupsafeUpgrade python3-distroUpgrade python2-pytest-mockUpgrade python3-virtualenvUpgrade python2-lxml-debuginfoUpgrade PyYAML-debugsourceUpgrade python2-docutilsUpgrade python36-debugUpgrade python36-rpm-macrosUpgrade resource-agents-debugsourceUpgrade numpy-debugsourceUpgrade python3-noseUpgrade resource-agents-gcpUpgrade python3-wheel-wheelUpgrade python-nose-docsUpgrade python3-pymongoUpgrade resource-agents-aliyun-debuginfoUpgrade python2-debuginfoUpgrade python2-pyyaml-debuginfoUpgrade python2-CythonUpgrade python2-backportsUpgrade python2-sqlalchemyUpgrade python2-psycopg2-debug-debuginfoUpgrade python2-pytestUpgrade python-coverage-debugsourceUpgrade python-lxml-debugsourceUpgrade python2-docs-infoUpgrade python3-PyMySQLUpgrade python2-pymongo-debuginfoUpgrade python2-setuptools-wheelUpgrade python2-testUpgrade python2-idnaUpgrade python2-coverage-debuginfoUpgrade python2-ipaddressUpgrade python2-attrsUpgrade python2Upgrade python-psycopg2-docUpgrade python2-debugUpgrade python2-rpm-macrosUpgrade python-pymongo-docUpgrade python-psycopg2-debuginfoUpgrade python2-numpy-docUpgrade python2-bsonUpgrade python2-wheelUpgrade python2-pyyamlUpgrade python2-psycopg2-testsUpgrade python2-funcsigsUpgrade python2-babelUpgrade python2-dnsUpgrade python2-backports-ssl_match_hostnameUpgrade python-pymongo-debuginfoUpgrade python-sqlalchemy-docUpgrade resource-agentsUpgrade python2-pymongoUpgrade python2-psycopg2-debuginfoUpgrade python2-setuptools_scmUpgrade python3-pygmentsUpgrade python2-virtualenvUpgrade python2-pluggyUpgrade python2-numpy-f2pyUpgrade python2-noseUpgrade resource-agents-debuginfoUpgrade python2-wheel-wheelUpgrade python2-psycopg2Upgrade python2-debugsourceUpgrade python-psycopg2-debugsourceUpgrade Cython-debugsourceUpgrade babelUpgrade resource-agents-aliyunUpgrade python3-sqlalchemyUpgrade scipy-debugsourceUpgrade python36-develUpgrade python3-docsUpgrade python3-wheelUpgrade python3-bson-debuginfoUpgrade python2-scipy-debuginfoUpgrade python2-mockUpgrade python2-coverageUpgrade python2-docsUpgrade python-pymongo-debugsourceUpgrade python3-docutilsUpgrade python2-lxmlUpgrade python3-scipy-debuginfoUpgrade resource-agents-pafUpgrade python3-pymongo-gridfsUpgrade python3-bsonUpgrade python3-scipyUpgrade python2-pygmentsUpgrade python3-pymongo-debuginfoUpgrade python2-tkinterUpgrade python2-sixUpgrade python2-setuptoolsUpgrade python2-requests | Nov 10, 2021 | Mar 17, 2021 |
| Debian | — | Upgrade pygmentsUpgrade mediawiki | Mar 22, 2021 | Mar 17, 2021 |
| Dell Powerstore Dsa2023173 | — | Upgrade Dell PowerStoreOS to the latest version | Oct 23, 2025 | Jun 21, 2023 |
| Freebsd | — | Upgrade py38-pygments-25Upgrade py37-pygments-25Upgrade py39-pygmentsUpgrade py311-pygments-25Upgrade py37-pygmentsUpgrade py311-pygmentsUpgrade py39-pygments-25Upgrade py310-pygments-25Upgrade py38-pygmentsUpgrade py310-pygments | Sep 1, 2023 | Aug 31, 2023 |
| Huawei Euleros 2_0_sp2 | — | Upgrade python-pygments | Sep 16, 2021 | Mar 17, 2021 |
| Huawei Euleros 2_0_sp3 | — | Upgrade python-pygments | Apr 30, 2021 | Mar 17, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade python-pygments | Jul 19, 2021 | Mar 17, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade python2-pygmentsUpgrade python3-pygments | May 18, 2021 | Mar 17, 2021 |
| Huawei Euleros 2_0_sp9 | — | Upgrade python-pygments-helpUpgrade python3-pygments | Jul 2, 2021 | Mar 17, 2021 |
| Oracle Solaris | — | Upgrade library/python/pygments-27 to version 2.5.2-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/pygments-39 to version 2.5.2-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/pygments-37 to version 2.5.2-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/pygments to version 2.5.2-11.4.35.0.1.94.2 on Solaris 11.4 | Jul 21, 2021 | Mar 17, 2021 |
| Oracle_linux | — | Upgrade python2-numpyUpgrade python2-CythonUpgrade python2-psycopg2-debugUpgrade python2-toolsUpgrade python2-pysocksUpgrade python2-virtualenvUpgrade python-virtualenv-docUpgrade python2-backportsUpgrade python3-wheel-wheelUpgrade python2-PyMySQLUpgrade python2-pipUpgrade python2-libsUpgrade python2-idnaUpgrade python2-develUpgrade python2-coverageUpgrade python2-funcsigsUpgrade python2-docs-infoUpgrade python2-scipyUpgrade python2-pyyamlUpgrade python2-pytzUpgrade python2-pytest-mockUpgrade python2-pyUpgrade python3-pymongo-gridfsUpgrade python2-ipaddressUpgrade python2-attrsUpgrade python2-pip-wheelUpgrade python2-jinja2Upgrade python3-distroUpgrade python2-testUpgrade python2Upgrade python3-virtualenvUpgrade python2-docutilsUpgrade babelUpgrade python2-chardetUpgrade python-nose-docsUpgrade python2-setuptools-wheelUpgrade python36-rpm-macrosUpgrade python36-debugUpgrade python2-sqlalchemyUpgrade python3-noseUpgrade python3-PyMySQLUpgrade python2-pymongo-gridfsUpgrade python36Upgrade python-sqlalchemy-docUpgrade python2-setuptoolsUpgrade python2-numpy-f2pyUpgrade python2-markupsafeUpgrade python3-bsonUpgrade python-psycopg2-docUpgrade python2-docsUpgrade python2-requestsUpgrade python2-psycopg2Upgrade python36-develUpgrade python2-noseUpgrade python3-pymongoUpgrade python2-pymongoUpgrade python2-pluggyUpgrade python2-setuptools_scmUpgrade python2-sixUpgrade python2-rpm-macrosUpgrade python3-wheelUpgrade python3-docutilsUpgrade python2-psycopg2-testsUpgrade python2-lxmlUpgrade python2-pytestUpgrade python2-bsonUpgrade python-pymongo-docUpgrade python3-pygmentsUpgrade python3-docsUpgrade python2-tkinterUpgrade resource-agentsUpgrade python3-sqlalchemyUpgrade python2-wheel-wheelUpgrade python2-wheelUpgrade python2-dnsUpgrade python2-debugUpgrade python2-backports-ssl_match_hostnameUpgrade python2-babelUpgrade python3-scipyUpgrade python2-urllib3Upgrade python2-pygmentsUpgrade python2-numpy-docUpgrade python2-mock | Nov 19, 2021 | Jan 11, 2021 |
| Redhat_linux | — | Upgrade python2-pipUpgrade resource-agentsUpgrade python3-docsUpgrade python2-setuptoolsUpgrade python2-bson-debuginfoUpgrade python2-CythonUpgrade python2-debugUpgrade python2-urllib3Upgrade python-virtualenv-docUpgrade python2-pyyamlUpgrade python36-debugUpgrade python-psycopg2-debugsourceUpgrade python2-lxml-debuginfoUpgrade python2-coverage-debuginfoUpgrade python2-sixUpgrade python3-bsonUpgrade python3-wheel-wheelNo solution existsUpgrade python2-numpy-debuginfoUpgrade python2-psycopg2-debug-debuginfoUpgrade python-pymongo-docUpgrade python3-scipyUpgrade python2-jinja2Upgrade resource-agents-debuginfoUpgrade python2-babelUpgrade python2-pymongoUpgrade python2-numpy-f2pyUpgrade python2-scipy-debuginfoUpgrade python3-sqlalchemyUpgrade Cython-debugsourceUpgrade python2-noseUpgrade python3-pygmentsUpgrade python-psycopg2-debuginfoUpgrade python2-pyyaml-debuginfoUpgrade python2-chardetUpgrade python2-ipaddressUpgrade python2-setuptools-wheelUpgrade python2-Cython-debuginfoUpgrade python-nose-docsUpgrade python-psycopg2-docUpgrade scipy-debugsourceUpgrade python3-pymongo-gridfsUpgrade python-pymongo-debuginfoUpgrade python2-coverageUpgrade python2-pymongo-debuginfoUpgrade python2-pluggyUpgrade resource-agents-gcpUpgrade python2-idnaUpgrade python2-libsUpgrade python3-PyMySQLUpgrade python-pymongo-debugsourceUpgrade python-lxml-debugsourceUpgrade python36-rpm-macrosUpgrade python2-psycopg2Upgrade resource-agents-aliyun-debuginfoUpgrade python3-scipy-debuginfoUpgrade python2Upgrade python2-attrsUpgrade python2-bsonUpgrade python2-toolsUpgrade babelUpgrade python3-virtualenvUpgrade python2-backportsUpgrade python2-wheelUpgrade python2-docsUpgrade python2-scipyUpgrade python-sqlalchemy-docUpgrade python2-psycopg2-debugUpgrade python2-docs-infoUpgrade python3-distroUpgrade python2-pytzUpgrade python2-numpyUpgrade resource-agents-aliyunUpgrade python2-virtualenvUpgrade python2-debugsourceUpgrade PyYAML-debugsourceUpgrade python3-pymongoUpgrade python3-bson-debuginfoUpgrade python3-docutilsUpgrade python2-pytest-mockUpgrade resource-agents-debugsourceUpgrade python2-pysocksUpgrade python3-wheelUpgrade python2-markupsafeUpgrade python2-pytestUpgrade python2-backports-ssl_match_hostnameUpgrade python2-docutilsUpgrade python2-funcsigsUpgrade python2-tkinterUpgrade python2-pyUpgrade python2-PyMySQLUpgrade resource-agents-pafUpgrade python2-rpm-macrosUpgrade python2-pip-wheelUpgrade python2-pygmentsUpgrade python2-requestsUpgrade python2-develUpgrade python2-wheel-wheelUpgrade python2-dnsUpgrade python-coverage-debugsourceUpgrade python2-sqlalchemyUpgrade python2-lxmlUpgrade python2-psycopg2-testsUpgrade python3-pymongo-debuginfoUpgrade python2-pymongo-gridfsUpgrade python2-setuptools_scmUpgrade python36Upgrade python2-testUpgrade python3-noseUpgrade numpy-debugsourceUpgrade python2-debuginfoUpgrade python2-psycopg2-debuginfoUpgrade python36-develUpgrade python2-mockUpgrade python2-numpy-doc | Nov 10, 2021 | Mar 17, 2021 |
| Rocky_linux | — | Upgrade python2-psycopg2-testsUpgrade python2-psycopg2-debuginfoUpgrade python2-tkinterUpgrade python2-sqlalchemyUpgrade python2-pyyamlUpgrade python2-pyyaml-debuginfoUpgrade python2-debugsourceUpgrade python2-scipy-debuginfoUpgrade python3-scipyUpgrade resource-agents-debuginfoUpgrade python2-scipyUpgrade python3-bson-debuginfoUpgrade scipy-debugsourceUpgrade python3-bsonUpgrade python2-lxmlUpgrade python-psycopg2-debugsourceUpgrade python3-pymongo-gridfsUpgrade resource-agents-pafUpgrade python2-debugUpgrade python-pymongo-debuginfoUpgrade Cython-debugsourceUpgrade python-psycopg2-debuginfoUpgrade python3-scipy-debuginfoUpgrade python2-psycopg2Upgrade resource-agents-aliyunUpgrade python2-coverageUpgrade python2-pymongoUpgrade python3-sqlalchemyUpgrade python-lxml-debugsourceUpgrade python2-toolsUpgrade python2-pymongo-debuginfoUpgrade resource-agents-gcpUpgrade resource-agents-debugsourceUpgrade python2-CythonUpgrade python3-pymongo-debuginfoUpgrade python2-pymongo-gridfsUpgrade python2-Cython-debuginfoUpgrade python-psycopg2-docUpgrade python2-psycopg2-debug-debuginfoUpgrade resource-agentsUpgrade python2-backportsUpgrade python-pymongo-debugsourceUpgrade PyYAML-debugsourceUpgrade python36Upgrade python2-psycopg2-debugUpgrade python2-lxml-debuginfoUpgrade python2Upgrade python2-bsonUpgrade python2-numpy-debuginfoUpgrade python2-numpyUpgrade python2-coverage-debuginfoUpgrade python-coverage-debugsourceUpgrade python2-testUpgrade numpy-debugsourceUpgrade python2-numpy-f2pyUpgrade python2-develUpgrade python3-pymongoUpgrade python2-libsUpgrade python2-debuginfoUpgrade python36-debugUpgrade python2-bson-debuginfoUpgrade resource-agents-aliyun-debuginfoUpgrade python36-develUpgrade python2-markupsafe | Mar 12, 2024 | Mar 17, 2021 |
| Suse | — | Upgrade python3-pygmentsUpgrade python-pygmentsUpgrade python2-pygments | Dec 2, 2021 | Mar 17, 2021 |
| Ubuntu | — | Upgrade python-pygments (Ubuntu Pro)Upgrade python3-pygments (Ubuntu Pro)Upgrade python-pygmentsUpgrade python3-pygments | Mar 31, 2021 | Mar 17, 2021 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Mar 17, 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