-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

====================================================================                   Red Hat Security Advisory

Synopsis:          Moderate: python security update
Advisory ID:       RHSA-2022:5235-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2022:5235
Issue date:        2022-06-28
CVE Names:         CVE-2020-26116 CVE-2020-26137 CVE-2021-3177 
====================================================================
1. Summary:

An update for python is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

3. Description:

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: CRLF injection via HTTP request method in httplib/http.client
(CVE-2020-26116)

* python-urllib3: CRLF injection via HTTP request method (CVE-2020-26137)

* python: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c
(CVE-2021-3177)

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.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1883014 - CVE-2020-26116 python: CRLF injection via HTTP request method in httplib/http.client
1883632 - CVE-2020-26137 python-urllib3: CRLF injection via HTTP request method
1896494 - FTBFS: python2 selftests [rhel-7.9.z]
1918168 - CVE-2021-3177 python: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
python-2.7.5-92.el7_9.src.rpm

x86_64:
python-2.7.5-92.el7_9.x86_64.rpm
python-debuginfo-2.7.5-92.el7_9.i686.rpm
python-debuginfo-2.7.5-92.el7_9.x86_64.rpm
python-libs-2.7.5-92.el7_9.i686.rpm
python-libs-2.7.5-92.el7_9.x86_64.rpm

Red Hat Enterprise Linux Client Optional (v. 7):

x86_64:
python-debug-2.7.5-92.el7_9.x86_64.rpm
python-debuginfo-2.7.5-92.el7_9.x86_64.rpm
python-devel-2.7.5-92.el7_9.x86_64.rpm
python-test-2.7.5-92.el7_9.x86_64.rpm
python-tools-2.7.5-92.el7_9.x86_64.rpm
tkinter-2.7.5-92.el7_9.x86_64.rpm

Red Hat Enterprise Linux ComputeNode (v. 7):

Source:
python-2.7.5-92.el7_9.src.rpm

x86_64:
python-2.7.5-92.el7_9.x86_64.rpm
python-debuginfo-2.7.5-92.el7_9.i686.rpm
python-debuginfo-2.7.5-92.el7_9.x86_64.rpm
python-devel-2.7.5-92.el7_9.x86_64.rpm
python-libs-2.7.5-92.el7_9.i686.rpm
python-libs-2.7.5-92.el7_9.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

x86_64:
python-debug-2.7.5-92.el7_9.x86_64.rpm
python-debuginfo-2.7.5-92.el7_9.x86_64.rpm
python-test-2.7.5-92.el7_9.x86_64.rpm
python-tools-2.7.5-92.el7_9.x86_64.rpm
tkinter-2.7.5-92.el7_9.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
python-2.7.5-92.el7_9.src.rpm

ppc64:
python-2.7.5-92.el7_9.ppc64.rpm
python-debuginfo-2.7.5-92.el7_9.ppc.rpm
python-debuginfo-2.7.5-92.el7_9.ppc64.rpm
python-devel-2.7.5-92.el7_9.ppc64.rpm
python-libs-2.7.5-92.el7_9.ppc.rpm
python-libs-2.7.5-92.el7_9.ppc64.rpm

ppc64le:
python-2.7.5-92.el7_9.ppc64le.rpm
python-debuginfo-2.7.5-92.el7_9.ppc64le.rpm
python-devel-2.7.5-92.el7_9.ppc64le.rpm
python-libs-2.7.5-92.el7_9.ppc64le.rpm

s390x:
python-2.7.5-92.el7_9.s390x.rpm
python-debuginfo-2.7.5-92.el7_9.s390.rpm
python-debuginfo-2.7.5-92.el7_9.s390x.rpm
python-devel-2.7.5-92.el7_9.s390x.rpm
python-libs-2.7.5-92.el7_9.s390.rpm
python-libs-2.7.5-92.el7_9.s390x.rpm

x86_64:
python-2.7.5-92.el7_9.x86_64.rpm
python-debuginfo-2.7.5-92.el7_9.i686.rpm
python-debuginfo-2.7.5-92.el7_9.x86_64.rpm
python-devel-2.7.5-92.el7_9.x86_64.rpm
python-libs-2.7.5-92.el7_9.i686.rpm
python-libs-2.7.5-92.el7_9.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 7):

ppc64:
python-debug-2.7.5-92.el7_9.ppc64.rpm
python-debuginfo-2.7.5-92.el7_9.ppc64.rpm
python-test-2.7.5-92.el7_9.ppc64.rpm
python-tools-2.7.5-92.el7_9.ppc64.rpm
tkinter-2.7.5-92.el7_9.ppc64.rpm

ppc64le:
python-debug-2.7.5-92.el7_9.ppc64le.rpm
python-debuginfo-2.7.5-92.el7_9.ppc64le.rpm
python-test-2.7.5-92.el7_9.ppc64le.rpm
python-tools-2.7.5-92.el7_9.ppc64le.rpm
tkinter-2.7.5-92.el7_9.ppc64le.rpm

s390x:
python-debug-2.7.5-92.el7_9.s390x.rpm
python-debuginfo-2.7.5-92.el7_9.s390x.rpm
python-test-2.7.5-92.el7_9.s390x.rpm
python-tools-2.7.5-92.el7_9.s390x.rpm
tkinter-2.7.5-92.el7_9.s390x.rpm

x86_64:
python-debug-2.7.5-92.el7_9.x86_64.rpm
python-debuginfo-2.7.5-92.el7_9.x86_64.rpm
python-test-2.7.5-92.el7_9.x86_64.rpm
python-tools-2.7.5-92.el7_9.x86_64.rpm
tkinter-2.7.5-92.el7_9.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
python-2.7.5-92.el7_9.src.rpm

x86_64:
python-2.7.5-92.el7_9.x86_64.rpm
python-debuginfo-2.7.5-92.el7_9.i686.rpm
python-debuginfo-2.7.5-92.el7_9.x86_64.rpm
python-devel-2.7.5-92.el7_9.x86_64.rpm
python-libs-2.7.5-92.el7_9.i686.rpm
python-libs-2.7.5-92.el7_9.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 7):

x86_64:
python-debug-2.7.5-92.el7_9.x86_64.rpm
python-debuginfo-2.7.5-92.el7_9.x86_64.rpm
python-test-2.7.5-92.el7_9.x86_64.rpm
python-tools-2.7.5-92.el7_9.x86_64.rpm
tkinter-2.7.5-92.el7_9.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2020-26116
https://access.redhat.com/security/cve/CVE-2020-26137
https://access.redhat.com/security/cve/CVE-2021-3177
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is . More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2022 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBYrr1gNzjgjWX9erEAQjUiQ//Z/HEye4bApl3m6d+ReOCBuO/hxw534mo
jNklz90tPizQkVYBKbIsGuYeecpAZnQIxKhTHONfzHlj026ldJUGvyNiExFCqQmq
cSkgEnjTlZRqZn40zggP6Haq1fiYDqtel9znnh3ErmtAOQ56GSk4CkBXS5SErGdY
XDZaw5dSCxq3c+vH3VQ9u2QwtuutxPK+kph97BRFj1YhYzjXv2y/VODFVe8eCj2N
kqJnFB8LvWX0PACTeoqAWh5FDR51/1EZKPchBp+4CNz718/cKJpJyDYIVZO/V9sc
iHxi0l8TtxEMIk+2hxJYvpNWyNXKQI1y7iUbaylzZquASLnLz98s6BpBrDpw7QRk
v2SFyNzlY8G5Jn9v/BFBRLzAmWvdI3A/AHBMJUpkQtY7zUX/N2tOcr2sUzAcew5K
p8LbHGvuJUJZNReXv+I6/sHwtHUq7q+kfLrM1xwQgL8mFMKiZmXTpJSJ8k41FTHP
jyFJscD6/G5lnSqNS8prJZ82S/pdn6geXxtSCmsX3MM4x8DgSGoQIKigws8cIA2n
8FmqGtXEj0yXPWh2QBPjq5VDEopRrV7xC3BimtVsGQUORvfezKb5Lw0sKtl8oeV2
PXxSlZX8zBygmGBGB56VGSsTIiWrrpIA2XRYImQPrvOgwJyTEIsDnwVoxrhBwh7k
Crmpuoi6I6Q=Z3qE
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://listman.redhat.com/mailman/listinfo/rhsa-announce

RedHat: RHSA-2022-5235:01 Moderate: python security update

An update for python is now available for Red Hat Enterprise Linux 7

Summary

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: CRLF injection via HTTP request method in httplib/http.client (CVE-2020-26116)
* python-urllib3: CRLF injection via HTTP request method (CVE-2020-26137)
* python: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c (CVE-2021-3177)
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.



Summary


Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258

References

https://access.redhat.com/security/cve/CVE-2020-26116 https://access.redhat.com/security/cve/CVE-2020-26137 https://access.redhat.com/security/cve/CVE-2021-3177 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: python-2.7.5-92.el7_9.src.rpm
x86_64: python-2.7.5-92.el7_9.x86_64.rpm python-debuginfo-2.7.5-92.el7_9.i686.rpm python-debuginfo-2.7.5-92.el7_9.x86_64.rpm python-libs-2.7.5-92.el7_9.i686.rpm python-libs-2.7.5-92.el7_9.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
x86_64: python-debug-2.7.5-92.el7_9.x86_64.rpm python-debuginfo-2.7.5-92.el7_9.x86_64.rpm python-devel-2.7.5-92.el7_9.x86_64.rpm python-test-2.7.5-92.el7_9.x86_64.rpm python-tools-2.7.5-92.el7_9.x86_64.rpm tkinter-2.7.5-92.el7_9.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source: python-2.7.5-92.el7_9.src.rpm
x86_64: python-2.7.5-92.el7_9.x86_64.rpm python-debuginfo-2.7.5-92.el7_9.i686.rpm python-debuginfo-2.7.5-92.el7_9.x86_64.rpm python-devel-2.7.5-92.el7_9.x86_64.rpm python-libs-2.7.5-92.el7_9.i686.rpm python-libs-2.7.5-92.el7_9.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
x86_64: python-debug-2.7.5-92.el7_9.x86_64.rpm python-debuginfo-2.7.5-92.el7_9.x86_64.rpm python-test-2.7.5-92.el7_9.x86_64.rpm python-tools-2.7.5-92.el7_9.x86_64.rpm tkinter-2.7.5-92.el7_9.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source: python-2.7.5-92.el7_9.src.rpm
ppc64: python-2.7.5-92.el7_9.ppc64.rpm python-debuginfo-2.7.5-92.el7_9.ppc.rpm python-debuginfo-2.7.5-92.el7_9.ppc64.rpm python-devel-2.7.5-92.el7_9.ppc64.rpm python-libs-2.7.5-92.el7_9.ppc.rpm python-libs-2.7.5-92.el7_9.ppc64.rpm
ppc64le: python-2.7.5-92.el7_9.ppc64le.rpm python-debuginfo-2.7.5-92.el7_9.ppc64le.rpm python-devel-2.7.5-92.el7_9.ppc64le.rpm python-libs-2.7.5-92.el7_9.ppc64le.rpm
s390x: python-2.7.5-92.el7_9.s390x.rpm python-debuginfo-2.7.5-92.el7_9.s390.rpm python-debuginfo-2.7.5-92.el7_9.s390x.rpm python-devel-2.7.5-92.el7_9.s390x.rpm python-libs-2.7.5-92.el7_9.s390.rpm python-libs-2.7.5-92.el7_9.s390x.rpm
x86_64: python-2.7.5-92.el7_9.x86_64.rpm python-debuginfo-2.7.5-92.el7_9.i686.rpm python-debuginfo-2.7.5-92.el7_9.x86_64.rpm python-devel-2.7.5-92.el7_9.x86_64.rpm python-libs-2.7.5-92.el7_9.i686.rpm python-libs-2.7.5-92.el7_9.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
ppc64: python-debug-2.7.5-92.el7_9.ppc64.rpm python-debuginfo-2.7.5-92.el7_9.ppc64.rpm python-test-2.7.5-92.el7_9.ppc64.rpm python-tools-2.7.5-92.el7_9.ppc64.rpm tkinter-2.7.5-92.el7_9.ppc64.rpm
ppc64le: python-debug-2.7.5-92.el7_9.ppc64le.rpm python-debuginfo-2.7.5-92.el7_9.ppc64le.rpm python-test-2.7.5-92.el7_9.ppc64le.rpm python-tools-2.7.5-92.el7_9.ppc64le.rpm tkinter-2.7.5-92.el7_9.ppc64le.rpm
s390x: python-debug-2.7.5-92.el7_9.s390x.rpm python-debuginfo-2.7.5-92.el7_9.s390x.rpm python-test-2.7.5-92.el7_9.s390x.rpm python-tools-2.7.5-92.el7_9.s390x.rpm tkinter-2.7.5-92.el7_9.s390x.rpm
x86_64: python-debug-2.7.5-92.el7_9.x86_64.rpm python-debuginfo-2.7.5-92.el7_9.x86_64.rpm python-test-2.7.5-92.el7_9.x86_64.rpm python-tools-2.7.5-92.el7_9.x86_64.rpm tkinter-2.7.5-92.el7_9.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source: python-2.7.5-92.el7_9.src.rpm
x86_64: python-2.7.5-92.el7_9.x86_64.rpm python-debuginfo-2.7.5-92.el7_9.i686.rpm python-debuginfo-2.7.5-92.el7_9.x86_64.rpm python-devel-2.7.5-92.el7_9.x86_64.rpm python-libs-2.7.5-92.el7_9.i686.rpm python-libs-2.7.5-92.el7_9.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
x86_64: python-debug-2.7.5-92.el7_9.x86_64.rpm python-debuginfo-2.7.5-92.el7_9.x86_64.rpm python-test-2.7.5-92.el7_9.x86_64.rpm python-tools-2.7.5-92.el7_9.x86_64.rpm tkinter-2.7.5-92.el7_9.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/


Severity
Advisory ID: RHSA-2022:5235-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:5235
Issued Date: : 2022-06-28
CVE Names: CVE-2020-26116 CVE-2020-26137 CVE-2021-3177

Topic

An update for python is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64


Bugs Fixed

1883014 - CVE-2020-26116 python: CRLF injection via HTTP request method in httplib/http.client

1883632 - CVE-2020-26137 python-urllib3: CRLF injection via HTTP request method

1896494 - FTBFS: python2 selftests [rhel-7.9.z]

1918168 - CVE-2021-3177 python: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c


Related News