CWE
119 22
Advisory Published
Advisory Published

RHSA-2021:3252: Moderate: python27 security update

First published: Tue 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 PyCArg_repr 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.parse_qsl and urllib.parse.parse_qs 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.parse_qsl and urllib.parse.parse_qs 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 SoftwareAffected VersionHow to fix
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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203