RHSA-2021:4150: Moderate: python36:3.6 security and bug fix update

Published Nov 9, 2021
·
Updated

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.Security Fix(es): python-pygments: Infinite loop in SML lexer may lead to DoS (CVE-2021-20270) python-pygments: ReDoS in multiple lexers (CVE-2021-27291) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.Additional Changes:For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.

Affected Software

79 affected componentsFixes available
redhat/python-distro<1.4.0-2.module+el8.1.0+3334+5cb623d7
1.4.0-2.module+el8.1.0+3334+5cb623d7
redhat/python-docs<3.6.7-2.module+el8.1.0+3334+5cb623d7
3.6.7-2.module+el8.1.0+3334+5cb623d7
redhat/python-docutils<0.14-12.module+el8.1.0+3334+5cb623d7
0.14-12.module+el8.1.0+3334+5cb623d7
redhat/python-nose<1.3.7-31.module+el8.5.0+12207+5c5719bc
1.3.7-31.module+el8.5.0+12207+5c5719bc
redhat/python-pygments<2.2.0-22.module+el8.5.0+10789+e4939b94
2.2.0-22.module+el8.5.0+10789+e4939b94
redhat/python-pymongo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python-sqlalchemy<1.3.2-2.module+el8.3.0+6646+6b4b10ec
1.3.2-2.module+el8.3.0+6646+6b4b10ec
redhat/python-virtualenv<15.1.0-21.module+el8.5.0+12207+5c5719bc
15.1.0-21.module+el8.5.0+12207+5c5719bc
redhat/python-wheel<0.31.1-3.module+el8.5.0+12207+5c5719bc
0.31.1-3.module+el8.5.0+12207+5c5719bc
redhat/python36<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/scipy<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python-nose-docs<1.3.7-31.module+el8.5.0+12207+5c5719bc
1.3.7-31.module+el8.5.0+12207+5c5719bc
redhat/python-pymongo-doc<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python-sqlalchemy-doc<1.3.2-2.module+el8.3.0+6646+6b4b10ec
1.3.2-2.module+el8.3.0+6646+6b4b10ec
redhat/python-virtualenv-doc<15.1.0-21.module+el8.5.0+12207+5c5719bc
15.1.0-21.module+el8.5.0+12207+5c5719bc
redhat/python3-distro<1.4.0-2.module+el8.1.0+3334+5cb623d7
1.4.0-2.module+el8.1.0+3334+5cb623d7
redhat/python3-docs<3.6.7-2.module+el8.1.0+3334+5cb623d7
3.6.7-2.module+el8.1.0+3334+5cb623d7
redhat/python3-docutils<0.14-12.module+el8.1.0+3334+5cb623d7
0.14-12.module+el8.1.0+3334+5cb623d7
redhat/python3-nose<1.3.7-31.module+el8.5.0+12207+5c5719bc
1.3.7-31.module+el8.5.0+12207+5c5719bc
redhat/python3-pygments<2.2.0-22.module+el8.5.0+10789+e4939b94
2.2.0-22.module+el8.5.0+10789+e4939b94
redhat/python3-virtualenv<15.1.0-21.module+el8.5.0+12207+5c5719bc
15.1.0-21.module+el8.5.0+12207+5c5719bc
redhat/python3-wheel<0.31.1-3.module+el8.5.0+12207+5c5719bc
0.31.1-3.module+el8.5.0+12207+5c5719bc
redhat/python3-wheel-wheel<0.31.1-3.module+el8.5.0+12207+5c5719bc
0.31.1-3.module+el8.5.0+12207+5c5719bc
redhat/python36-rpm-macros<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/python-pymongo-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python-pymongo-debugsource<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-bson<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-bson-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo-gridfs<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-scipy<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python3-scipy-debuginfo<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python3-sqlalchemy<1.3.2-2.module+el8.3.0+6646+6b4b10ec
1.3.2-2.module+el8.3.0+6646+6b4b10ec
redhat/python36<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/python36-debug<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/python36-devel<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/scipy-debugsource<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python-pymongo-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python-pymongo-debugsource<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-bson<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-bson-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo-gridfs<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-scipy<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python3-scipy-debuginfo<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python3-sqlalchemy<1.3.2-2.module+el8.3.0+6646+6b4b10ec
1.3.2-2.module+el8.3.0+6646+6b4b10ec
redhat/python36-debug<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/python36-devel<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/scipy-debugsource<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python-pymongo-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python-pymongo-debugsource<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-bson<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-bson-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-pymongo-gridfs<3.7.0-1.module+el8.4.0+9670+1849b5f9
3.7.0-1.module+el8.4.0+9670+1849b5f9
redhat/python3-scipy<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python3-scipy-debuginfo<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python3-sqlalchemy<1.3.2-2.module+el8.3.0+6646+6b4b10ec
1.3.2-2.module+el8.3.0+6646+6b4b10ec
redhat/python36<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/python36-debug<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/python36-devel<3.6.8-38.module+el8.5.0+12207+5c5719bc
3.6.8-38.module+el8.5.0+12207+5c5719bc
redhat/scipy-debugsource<1.0.0-21.module+el8.5.0+10916+41bd434d
1.0.0-21.module+el8.5.0+10916+41bd434d
redhat/python-pymongo-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
redhat/python-pymongo-debugsource<3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
redhat/python3-bson<3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
redhat/python3-bson-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
redhat/python3-pymongo<3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
redhat/python3-pymongo-debuginfo<3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
redhat/python3-pymongo-gridfs<3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
3.7.0-1.module+el8.4.0+9670+1849b5f9.aa
redhat/python3-scipy<1.0.0-21.module+el8.5.0+10916+41bd434d.aa
1.0.0-21.module+el8.5.0+10916+41bd434d.aa
redhat/python3-scipy-debuginfo<1.0.0-21.module+el8.5.0+10916+41bd434d.aa
1.0.0-21.module+el8.5.0+10916+41bd434d.aa
redhat/python3-sqlalchemy<1.3.2-2.module+el8.3.0+6646+6b4b10ec.aa
1.3.2-2.module+el8.3.0+6646+6b4b10ec.aa
redhat/python36<3.6.8-38.module+el8.5.0+12207+5c5719bc.aa
3.6.8-38.module+el8.5.0+12207+5c5719bc.aa
redhat/python36-debug<3.6.8-38.module+el8.5.0+12207+5c5719bc.aa
3.6.8-38.module+el8.5.0+12207+5c5719bc.aa
redhat/python36-devel<3.6.8-38.module+el8.5.0+12207+5c5719bc.aa
3.6.8-38.module+el8.5.0+12207+5c5719bc.aa
redhat/scipy-debugsource<1.0.0-21.module+el8.5.0+10916+41bd434d.aa
1.0.0-21.module+el8.5.0+10916+41bd434d.aa

Remediation

Event History

Apr 15, 2026
Advisory Published
via Red Hat·02:35 PM
Data Sourced
via Red Hat·02:35 PM
RemedyDescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of RHSA-2021:4150?

The severity of RHSA-2021:4150 is classified as critical.

2

How do I fix RHSA-2021:4150?

To fix RHSA-2021:4150, update to the remedied versions of the affected packages listed in the advisory.

3

Which packages are affected by RHSA-2021:4150?

RHSA-2021:4150 affects multiple Python packages including python-distro, python-docs, and python-pymongo among others.

4

Is there a known exploit for RHSA-2021:4150?

As of now, there are no public exploits specifically targeting the vulnerabilities addressed by RHSA-2021:4150.

5

When was RHSA-2021:4150 released?

RHSA-2021:4150 was released on November 10, 2021.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203