RHSA-2021:3252: Moderate: python27 security update

Published Aug 24, 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.<br>Security Fix(es):<br><li> python: Unsafe use of eval() on data retrieved via HTTP in the test suite (CVE-2020-27619)</li> <li> python-jinja2: ReDoS vulnerability due to the sub-pattern (CVE-2020-28493)</li> <li> python: Stack-based buffer overflow in PyCArgrepr in ctypes/callproc.c (CVE-2021-3177)</li> <li> python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code (CVE-2021-20095)</li> <li> python-pygments: Infinite loop in SML lexer may lead to DoS (CVE-2021-20270)</li> <li> python: Web cache poisoning via urllib.parse.parseqsl and urllib.parse.parseqs by using a semicolon in query parameters (CVE-2021-23336)</li> <li> python-pygments: ReDoS via crafted malicious input (CVE-2021-27291)</li> 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.<br>Additional information<br><li> Changes in the default separator for the Python urllib parsing functions</li> To mitigate the Web Cache Poisoning CVE-2021-23336 in the Python urllib library, the default separator for the urllib.parse.parseqsl and urllib.parse.parseqs functions is being changed from both ampersand (&amp;) and semicolon (;) to only an ampersand.<br>The change of the default separator is potentially backwards incompatible, therefore Red Hat provides a way to configure the behavior in Python packages where the default separator has been changed. In addition, the affected urllib parsing functions issue a warning if they detect that a customer’s application has been affected by the change.<br>For more information, see the Knowledgebase article "Mitigation of Web Cache Poisoning in the Python urllib library (CVE-2021-23336)" linked from the References section.

Affected Software

31 affected componentsFixes available
redhat/python27-babel<0.9.6-10.el7
0.9.6-10.el7
redhat/python27-python<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-jinja2<2.6-16.el7
2.6-16.el7
redhat/python27-python-pygments<1.5-5.el7
1.5-5.el7
redhat/python27-babel<0.9.6-10.el7
0.9.6-10.el7
redhat/python27-python<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-babel<0.9.6-10.el7
0.9.6-10.el7
redhat/python27-python-debug<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-debuginfo<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-devel<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-jinja2<2.6-16.el7
2.6-16.el7
redhat/python27-python-libs<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-pygments<1.5-5.el7
1.5-5.el7
redhat/python27-python-test<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-tools<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-tkinter<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-debug<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-debuginfo<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-devel<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-libs<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-test<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-tools<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-tkinter<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-debug<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-debuginfo<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-devel<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-libs<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-test<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-python-tools<2.7.18-3.el7
2.7.18-3.el7
redhat/python27-tkinter<2.7.18-3.el7
2.7.18-3.el7

Remediation

Event History

Jan 19, 2024
Advisory Published
via Red Hat·10:57 PM
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:3252?

The severity of RHSA-2021:3252 is categorized as moderate.

2

How do I fix RHSA-2021:3252?

To fix RHSA-2021:3252, update the affected packages to the recommended versions provided in the advisory.

3

Which software is affected by RHSA-2021:3252?

RHSA-2021:3252 affects several Python 2.7 packages including python27-babel, python27-python, and python27-python-libs.

4

What are the versions impacted by RHSA-2021:3252?

The impacted versions of the packages include python27-babel < 0.9.6-10.el7, python27-python < 2.7.18-3.el7, and others specified in the advisory.

5

Is there a workaround for RHSA-2021:3252?

There are no known workarounds for RHSA-2021:3252; applying the update is the recommended action.

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