Skip to content
pkgseek
Back to CVE search

CVE-2021-27291

high · 7.5

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.

First indexed 3/17/2021View on NVD

Advisory Facts

Markdown

CVE-2021-27291 is rated HIGH (7.5), with 83 indexed affected package builds across 2 distributions.

Severity / Score
HIGH (7.5)
Affected builds
83
Affected distros
2
Distros with fixed_in
Oracle Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2021-27291?locale=en

Distribution-aware status

2
Distributions
83
Package/release records
5
Vendor advisories
83
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

83 affected package/release combinations
python2-attrs
8noarch
17.4.0-10.module+el8.2.0+5577+bb63ba72Fixed in 17.4.0-10.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-attrs
python2-babel
8noarch
2.5.1-9.module+el8.3.0+7833+4aaf98ceFixed in 2.5.1-10.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-babel
python2-backports
8x86_64
1.0-15.0.1.module+el8.3.0+7833+4aaf98ceFixed in 1.0-16.module+el8.4.0+20050+79c7b4ee
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-backports
python2-backports-ssl_match_hostname
8noarch
3.5.0.1-11.module+el8.3.0+7833+4aaf98ceFixed in 3.5.0.1-12.module+el8.4.0+20050+79c7b4ee
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-backports-ssl_match_hostname
python2-bson
8x86_64
3.6.1-11.module+el8.3.0+7833+4aaf98ceFixed in 3.7.0-1.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-bson
python2-chardet
8noarch
3.0.4-10.module+el8.2.0+5577+bb63ba72Fixed in 3.0.4-10.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-chardet
python2-coverage
8x86_64
4.5.1-4.module+el8.2.0+5577+bb63ba72Fixed in 4.5.1-4.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-coverage
python2-Cython
8x86_64
0.28.1-7.module+el8.2.0+5577+bb63ba72Fixed in 0.28.1-7.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-Cython
python2-dns
8noarch
1.15.0-10.module+el8.2.0+5577+bb63ba72Fixed in 1.15.0-10.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-dns
python2-docs
8noarch
2.7.16-2.module+el8.2.0+5577+bb63ba72Fixed in 2.7.16-2.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-docs
python2-docs-info
8noarch
2.7.16-2.module+el8.2.0+5577+bb63ba72Fixed in 2.7.16-2.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-docs-info
python2-docutils
8noarch
0.14-12.module+el8.2.0+5577+bb63ba72Fixed in 0.14-12.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-docutils
python2-funcsigs
8noarch
1.0.2-13.module+el8.2.0+5577+bb63ba72Fixed in 1.0.2-13.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-funcsigs
python2-idna
8noarch
2.5-7.module+el8.2.0+5577+bb63ba72Fixed in 2.5-7.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-idna
python2-ipaddress
8noarch
1.0.18-6.module+el8.2.0+5577+bb63ba72Fixed in 1.0.18-6.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-ipaddress
python2-jinja2
8noarch
2.10-8.module+el8.3.0+7833+4aaf98ceFixed in 2.10-9.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-jinja2
python2-lxml
8x86_64
4.2.3-4.module+el8.4.0+20050+79c7b4eeFixed in 4.2.3-5.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-lxml
python2-markupsafe
8x86_64
0.23-19.module+el8.2.0+5577+bb63ba72Fixed in 0.23-19.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-markupsafe
python2-mock
8noarch
2.0.0-13.module+el8.2.0+5577+bb63ba72Fixed in 2.0.0-13.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-mock
python2-nose
8noarch
1.3.7-30.module+el8.3.0+7833+4aaf98ceFixed in 1.3.7-31.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-nose
python2-pip
8noarch
9.0.3-16.module+el8.2.0+5577+bb63ba72Fixed in 9.0.3-18.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pip
python2-pip-wheel
8noarch
9.0.3-16.module+el8.2.0+5577+bb63ba72Fixed in 9.0.3-18.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pip-wheel
python2-pluggy
8noarch
0.6.0-8.module+el8.2.0+5577+bb63ba72Fixed in 0.6.0-8.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pluggy
python2-psycopg2
8x86_64
2.7.5-7.module+el8.2.0+5577+bb63ba72Fixed in 2.7.5-7.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-psycopg2
python2-psycopg2-debug
8x86_64
2.7.5-7.module+el8.2.0+5577+bb63ba72Fixed in 2.7.5-7.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-psycopg2-debug
python2-psycopg2-tests
8x86_64
2.7.5-7.module+el8.2.0+5577+bb63ba72Fixed in 2.7.5-7.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-psycopg2-tests
python2-py
8noarch
1.5.3-6.module+el8.2.0+5577+bb63ba72Fixed in 1.5.3-6.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-py
python2-pygments
8noarch
2.2.0-20.module+el8.3.0+7833+4aaf98ceFixed in 2.2.0-22.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pygments
python2-pymongo
8x86_64
3.6.1-11.module+el8.3.0+7833+4aaf98ceFixed in 3.7.0-1.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pymongo
python2-pymongo-gridfs
8x86_64
3.6.1-11.module+el8.3.0+7833+4aaf98ceFixed in 3.7.0-1.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pymongo-gridfs
python2-PyMySQL
8noarch
0.8.0-10.module+el8.2.0+5577+bb63ba72Fixed in 0.8.0-10.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-PyMySQL
python2-pysocks
8noarch
1.6.8-6.module+el8.2.0+5577+bb63ba72Fixed in 1.6.8-6.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pysocks
python2-pytest
8noarch
3.4.2-13.module+el8.2.0+5577+bb63ba72Fixed in 3.4.2-13.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pytest
python2-pytest-mock
8noarch
1.9.0-4.module+el8.2.0+5577+bb63ba72Fixed in 1.9.0-4.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pytest-mock
python2-pytz
8noarch
2017.2-12.module+el8.2.0+5577+bb63ba72Fixed in 2017.2-12.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pytz
python2-pyyaml
8x86_64
3.12-16.module+el8.2.0+5577+bb63ba72Fixed in 3.12-16.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-pyyaml
python2-requests
8noarch
2.20.0-3.module+el8.2.0+5577+bb63ba72Fixed in 2.20.0-3.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-requests
python2-rpm-macros
8noarch
3-38.module+el8.2.0+5577+bb63ba72Fixed in 3-38.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-rpm-macros
python2-scipy
8x86_64
1.0.0-20.module+el8.3.0+7833+4aaf98ceFixed in 1.0.0-21.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-scipy
python2-setuptools
8noarch
39.0.1-12.module+el8.3.0+7833+4aaf98ceFixed in 39.0.1-13.module+el8.4.0+20050+79c7b4ee
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-setuptools
python2-setuptools_scm
8noarch
1.15.7-6.module+el8.2.0+5577+bb63ba72Fixed in 1.15.7-6.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-setuptools_scm
python2-setuptools-wheel
8noarch
39.0.1-12.module+el8.3.0+7833+4aaf98ceFixed in 39.0.1-13.module+el8.4.0+20050+79c7b4ee
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-setuptools-wheel
python2-six
8noarch
1.11.0-5.module+el8.3.0+7833+4aaf98ceFixed in 1.11.0-6.module+el8.4.0+20050+79c7b4ee
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-six
python2-sqlalchemy
8x86_64
1.3.2-1.module+el8.2.0+5577+bb63ba72Fixed in 1.3.2-2.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-sqlalchemy
python2-urllib3
8noarch
1.24.2-1.module+el8.3.0+7833+4aaf98ceFixed in 1.24.2-3.module+el8.4.0+20050+79c7b4ee
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-urllib3
python2-virtualenv
8noarch
15.1.0-19.module+el8.3.0+7833+4aaf98ceFixed in 15.1.0-21.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-virtualenv
python2-wheel-wheel
8noarch
1:0.31.1-2.module+el8.3.0+7833+4aaf98ceFixed in 1:0.31.1-3.module+el8.5.0+20361+8a9d3d27
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python2-wheel-wheel
python-psycopg2-doc
8x86_64
2.7.5-7.module+el8.2.0+5577+bb63ba72Fixed in 2.7.5-7.module+el8.3.0+7833+4aaf98ce
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade python-psycopg2-doc

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.