CWE
119 79 20 190 22
Advisory Published
Advisory Published

RHSA-2021:3254: Moderate: rh-python38 security, bug fix, and enhancement 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>The following packages have been upgraded to a later upstream version: rh-python38-python (3.8.11). (BZ#1969523)<br>Security Fix(es):<br><li> python-cryptography: Bleichenbacher timing oracle attack against RSA decryption (CVE-2020-25659)</li> <li> python: Unsafe use of eval() on data retrieved via HTTP in the test suite (CVE-2020-27619)</li> <li> python-lxml: mXSS due to the use of improper parser (CVE-2020-27783)</li> <li> python-jinja2: ReDoS vulnerability due to the sub-pattern (CVE-2020-28493)</li> <li> python-cryptography: Large inputs for symmetric encryption can trigger integer overflow leading to buffer overflow (CVE-2020-36242)</li> <li> python: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c (CVE-2021-3177)</li> <li> python: Information disclosure via pydoc (CVE-2021-3426)</li> <li> python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code (CVE-2021-20095)</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-lxml: Missing input sanitization for formaction HTML5 attributes may lead to XSS (CVE-2021-28957)</li> <li> python-ipaddress: Improper input validation of octal strings (CVE-2021-29921)</li> <li> python-urllib3: ReDoS in the parsing of authority part of URL (CVE-2021-33503)</li> <li> python-pip: Incorrect handling of unicode separators in git references (CVE-2021-3572)</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.<br><li> The Python "ipaddress" module no longer allows leading zeros in IPv4 addresses</li> To mitigate CVE-2021-29921, the Python "ipaddress" module now rejects IPv4 addresses with leading zeros with an "AddressValueError: Leading zeros are not permitted" error.<br>Customers who rely on the previous behavior can pre-process their IPv4 address inputs to strip the leading zeros off. For details, see the Red Hat Software Collections 3.7 Release Notes.

Affected SoftwareAffected VersionHow to fix
redhat/rh-python38-babel<2.7.0-12.el7
2.7.0-12.el7
redhat/rh-python38-python<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-cryptography<2.8-5.el7
2.8-5.el7
redhat/rh-python38-python-jinja2<2.10.3-6.el7
2.10.3-6.el7
redhat/rh-python38-python-lxml<4.4.1-7.el7
4.4.1-7.el7
redhat/rh-python38-python-pip<19.3.1-2.el7
19.3.1-2.el7
redhat/rh-python38-python-urllib3<1.25.7-7.el7
1.25.7-7.el7
redhat/rh-python38-python<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-babel<2.7.0-12.el7
2.7.0-12.el7
redhat/rh-python38-python-cryptography<2.8-5.el7
2.8-5.el7
redhat/rh-python38-python-cryptography-debuginfo<2.8-5.el7
2.8-5.el7
redhat/rh-python38-python-debug<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-debuginfo<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-devel<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-idle<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-jinja2<2.10.3-6.el7
2.10.3-6.el7
redhat/rh-python38-python-libs<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-lxml<4.4.1-7.el7
4.4.1-7.el7
redhat/rh-python38-python-lxml-debuginfo<4.4.1-7.el7
4.4.1-7.el7
redhat/rh-python38-python-pip<19.3.1-2.el7
19.3.1-2.el7
redhat/rh-python38-python-pip-wheel<19.3.1-2.el7
19.3.1-2.el7
redhat/rh-python38-python-rpm-macros<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-srpm-macros<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-test<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-tkinter<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-urllib3<1.25.7-7.el7
1.25.7-7.el7
redhat/rh-python38-python-cryptography-debuginfo<2.8-5.el7
2.8-5.el7
redhat/rh-python38-python-debug<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-debuginfo<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-devel<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-idle<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-libs<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-lxml-debuginfo<4.4.1-7.el7
4.4.1-7.el7
redhat/rh-python38-python-test<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-tkinter<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-cryptography<2.8-5.el7
2.8-5.el7
redhat/rh-python38-python-cryptography-debuginfo<2.8-5.el7
2.8-5.el7
redhat/rh-python38-python-debug<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-debuginfo<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-devel<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-idle<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-libs<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-lxml<4.4.1-7.el7
4.4.1-7.el7
redhat/rh-python38-python-lxml-debuginfo<4.4.1-7.el7
4.4.1-7.el7
redhat/rh-python38-python-test<3.8.11-2.el7
3.8.11-2.el7
redhat/rh-python38-python-tkinter<3.8.11-2.el7
3.8.11-2.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