what you don't know can hurt you

Red Hat Security Advisory 2021-3252-01

Red Hat Security Advisory 2021-3252-01
Posted Aug 27, 2021
Authored by Red Hat | Site access.redhat.com

Red Hat Security Advisory 2021-3252-01 - 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. Issues addressed include buffer overflow, code execution, denial of service, and traversal vulnerabilities.

tags | advisory, denial of service, overflow, vulnerability, code execution, python
systems | linux, redhat
advisories | CVE-2020-27619, CVE-2020-28493, CVE-2021-20095, CVE-2021-20270, CVE-2021-23336, CVE-2021-27291, CVE-2021-3177
MD5 | 64d7bbcc756663f32879557072f66329

Red Hat Security Advisory 2021-3252-01

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

Synopsis: Moderate: python27 security update
Advisory ID: RHSA-2021:3252-01
Product: Red Hat Software Collections
Advisory URL: https://access.redhat.com/errata/RHSA-2021:3252
Issue date: 2021-08-24
CVE Names: CVE-2020-27619 CVE-2020-28493 CVE-2021-3177
CVE-2021-20095 CVE-2021-20270 CVE-2021-23336
CVE-2021-27291
=====================================================================

1. Summary:

An update for python27-babel, python27-python, python27-python-jinja2, and
python27-python-pygments is now available for Red Hat Software Collections.

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 Software Collections for Red Hat Enterprise Linux Server (v. 7) - noarch, ppc64le, s390x, x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) - noarch, ppc64le, s390x, x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - noarch, 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: Unsafe use of eval() on data retrieved via HTTP in the test suite
(CVE-2020-27619)

* python-jinja2: ReDoS vulnerability due to the sub-pattern
(CVE-2020-28493)

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

* python-babel: Relative path traversal allows attacker to load arbitrary
locale files and execute arbitrary code (CVE-2021-20095)

* python-pygments: Infinite loop in SML lexer may lead to DoS
(CVE-2021-20270)

* python: Web cache poisoning via urllib.parse.parse_qsl and
urllib.parse.parse_qs by using a semicolon in query parameters
(CVE-2021-23336)

* python-pygments: ReDoS via crafted malicious input (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 information

* Changes in the default separator for the Python urllib parsing functions

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 (&)
and semicolon (;) to only an ampersand.

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.

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.

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/):

1889886 - CVE-2020-27619 python: Unsafe use of eval() on data retrieved via HTTP in the test suite
1918168 - CVE-2021-3177 python: Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c
1922136 - CVE-2021-20270 python-pygments: Infinite loop in SML lexer may lead to DoS
1928707 - CVE-2020-28493 python-jinja2: ReDoS vulnerability due to the sub-pattern
1928904 - CVE-2021-23336 python: Web cache poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a semicolon in query parameters
1940603 - CVE-2021-27291 python-pygments: ReDoS via crafted malicious input
1955615 - CVE-2021-20095 python-babel: Relative path traversal allows attacker to load arbitrary locale files and execute arbitrary code

6. Package List:

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7):

Source:
python27-babel-0.9.6-10.el7.src.rpm
python27-python-2.7.18-3.el7.src.rpm
python27-python-jinja2-2.6-16.el7.src.rpm
python27-python-pygments-1.5-5.el7.src.rpm

noarch:
python27-babel-0.9.6-10.el7.noarch.rpm
python27-python-babel-0.9.6-10.el7.noarch.rpm
python27-python-jinja2-2.6-16.el7.noarch.rpm
python27-python-pygments-1.5-5.el7.noarch.rpm

ppc64le:
python27-python-2.7.18-3.el7.ppc64le.rpm
python27-python-debug-2.7.18-3.el7.ppc64le.rpm
python27-python-debuginfo-2.7.18-3.el7.ppc64le.rpm
python27-python-devel-2.7.18-3.el7.ppc64le.rpm
python27-python-libs-2.7.18-3.el7.ppc64le.rpm
python27-python-test-2.7.18-3.el7.ppc64le.rpm
python27-python-tools-2.7.18-3.el7.ppc64le.rpm
python27-tkinter-2.7.18-3.el7.ppc64le.rpm

s390x:
python27-python-2.7.18-3.el7.s390x.rpm
python27-python-debug-2.7.18-3.el7.s390x.rpm
python27-python-debuginfo-2.7.18-3.el7.s390x.rpm
python27-python-devel-2.7.18-3.el7.s390x.rpm
python27-python-libs-2.7.18-3.el7.s390x.rpm
python27-python-test-2.7.18-3.el7.s390x.rpm
python27-python-tools-2.7.18-3.el7.s390x.rpm
python27-tkinter-2.7.18-3.el7.s390x.rpm

x86_64:
python27-python-2.7.18-3.el7.x86_64.rpm
python27-python-debug-2.7.18-3.el7.x86_64.rpm
python27-python-debuginfo-2.7.18-3.el7.x86_64.rpm
python27-python-devel-2.7.18-3.el7.x86_64.rpm
python27-python-libs-2.7.18-3.el7.x86_64.rpm
python27-python-test-2.7.18-3.el7.x86_64.rpm
python27-python-tools-2.7.18-3.el7.x86_64.rpm
python27-tkinter-2.7.18-3.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7):

Source:
python27-babel-0.9.6-10.el7.src.rpm
python27-python-2.7.18-3.el7.src.rpm
python27-python-jinja2-2.6-16.el7.src.rpm
python27-python-pygments-1.5-5.el7.src.rpm

noarch:
python27-babel-0.9.6-10.el7.noarch.rpm
python27-python-babel-0.9.6-10.el7.noarch.rpm
python27-python-jinja2-2.6-16.el7.noarch.rpm
python27-python-pygments-1.5-5.el7.noarch.rpm

ppc64le:
python27-python-2.7.18-3.el7.ppc64le.rpm
python27-python-debug-2.7.18-3.el7.ppc64le.rpm
python27-python-debuginfo-2.7.18-3.el7.ppc64le.rpm
python27-python-devel-2.7.18-3.el7.ppc64le.rpm
python27-python-libs-2.7.18-3.el7.ppc64le.rpm
python27-python-test-2.7.18-3.el7.ppc64le.rpm
python27-python-tools-2.7.18-3.el7.ppc64le.rpm
python27-tkinter-2.7.18-3.el7.ppc64le.rpm

s390x:
python27-python-2.7.18-3.el7.s390x.rpm
python27-python-debug-2.7.18-3.el7.s390x.rpm
python27-python-debuginfo-2.7.18-3.el7.s390x.rpm
python27-python-devel-2.7.18-3.el7.s390x.rpm
python27-python-libs-2.7.18-3.el7.s390x.rpm
python27-python-test-2.7.18-3.el7.s390x.rpm
python27-python-tools-2.7.18-3.el7.s390x.rpm
python27-tkinter-2.7.18-3.el7.s390x.rpm

x86_64:
python27-python-2.7.18-3.el7.x86_64.rpm
python27-python-debug-2.7.18-3.el7.x86_64.rpm
python27-python-debuginfo-2.7.18-3.el7.x86_64.rpm
python27-python-devel-2.7.18-3.el7.x86_64.rpm
python27-python-libs-2.7.18-3.el7.x86_64.rpm
python27-python-test-2.7.18-3.el7.x86_64.rpm
python27-python-tools-2.7.18-3.el7.x86_64.rpm
python27-tkinter-2.7.18-3.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7):

Source:
python27-babel-0.9.6-10.el7.src.rpm
python27-python-2.7.18-3.el7.src.rpm
python27-python-jinja2-2.6-16.el7.src.rpm
python27-python-pygments-1.5-5.el7.src.rpm

noarch:
python27-babel-0.9.6-10.el7.noarch.rpm
python27-python-babel-0.9.6-10.el7.noarch.rpm
python27-python-jinja2-2.6-16.el7.noarch.rpm
python27-python-pygments-1.5-5.el7.noarch.rpm

x86_64:
python27-python-2.7.18-3.el7.x86_64.rpm
python27-python-debug-2.7.18-3.el7.x86_64.rpm
python27-python-debuginfo-2.7.18-3.el7.x86_64.rpm
python27-python-devel-2.7.18-3.el7.x86_64.rpm
python27-python-libs-2.7.18-3.el7.x86_64.rpm
python27-python-test-2.7.18-3.el7.x86_64.rpm
python27-python-tools-2.7.18-3.el7.x86_64.rpm
python27-tkinter-2.7.18-3.el7.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-27619
https://access.redhat.com/security/cve/CVE-2020-28493
https://access.redhat.com/security/cve/CVE-2021-3177
https://access.redhat.com/security/cve/CVE-2021-20095
https://access.redhat.com/security/cve/CVE-2021-20270
https://access.redhat.com/security/cve/CVE-2021-23336
https://access.redhat.com/security/cve/CVE-2021-27291
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/articles/5860431

8. Contact:

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

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

iQIVAwUBYSe+ctzjgjWX9erEAQiofxAAp+VLCSYNRjI8Nw4kxb5WYcejTFn4BSND
unSmovD6Fw6Ey5Zy2Y8Qevwn6G+sxDUlpnkP4+C896EGFb6lh8d+Flzi1QZsAMOH
rUPGLUpQs4JvxZxbyPNzjos/YfRP7ZJ4dspVt8WJb0VOvjdtGCb/WoLX2tkAZ8ZL
+g5WkqXD+Np9nc+2xaAMwz9u6373HcmvOnPZC63oC/m0aHsvihVEMgl+U7AfOdsE
LsGEEz/jPYvcDvW+CNT2mpxS6XzZBPdBUhQejO/LJkH4zMqEAwO9jjZCAhew5Lgs
reNfvcn3WRD/L0jsAmciiAqAtgYeFjb3wnjqQaSARzM+8HQP3hqQqnViWEJfPItZ
HxI3VqhUcMGnKfXrmEOmxustPG0InWXEbA86iWyJww7a7e51Q0bH/IDwaLkVQqcP
++SgdJS3CtOqihO3Mpm/+ycsQlPO1ELZM/j7XNZm9RRNrZGokfvQxuRuCdJ3TXkw
0HQ+mUAWCRJw3Bpwv24UPP/+Z7R7m/rcDaoDTRzR8cmopSQW0JjZ80blxBUP8CA3
JZk+hvOyvwvbOl2nPMynfhV7ESk8q78WexnaeM0oeS/U+Fp+VINJevfr42Y9ZaXO
drJ8zNNzow2rE1N86R7qERxDLhPQcbaEy6xh7KS4p0OIV/d1nUxANcWeQvlkyqEO
bjxmuqp32s8=
=HgZF
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://listman.redhat.com/mailman/listinfo/rhsa-announce
Login or Register to add favorites

File Archive:

October 2021

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    16 Files
  • 2
    Oct 2nd
    1 Files
  • 3
    Oct 3rd
    1 Files
  • 4
    Oct 4th
    24 Files
  • 5
    Oct 5th
    24 Files
  • 6
    Oct 6th
    11 Files
  • 7
    Oct 7th
    14 Files
  • 8
    Oct 8th
    19 Files
  • 9
    Oct 9th
    1 Files
  • 10
    Oct 10th
    0 Files
  • 11
    Oct 11th
    7 Files
  • 12
    Oct 12th
    15 Files
  • 13
    Oct 13th
    26 Files
  • 14
    Oct 14th
    10 Files
  • 15
    Oct 15th
    6 Files
  • 16
    Oct 16th
    2 Files
  • 17
    Oct 17th
    1 Files
  • 18
    Oct 18th
    14 Files
  • 19
    Oct 19th
    15 Files
  • 20
    Oct 20th
    20 Files
  • 21
    Oct 21st
    12 Files
  • 22
    Oct 22nd
    14 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close