# RHSA-2021:4151: Security update for 62 packages

RHSA-2021:4151, released November 9, 2021, fixes 8 CVEs across 62 products. None of them is reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/fix/linux/rhsa-2021-4151
- Platform: Linux
- Released: Nov 9, 2021
- Priority: High (Closes CVE-2021-23336, high severity)
- CVEs: 8, exploited: 0, on CISA KEV: 0
- Vendor advisory: https://access.redhat.com/errata/RHSA-2021:4151

## Applies to

| Product | Release | Fixed in |
|---|---|---|
| [babel](https://patchblox.com/security/data/product/linux/babel.md) | RHEL 8 | 0:2.5.1-10.module+el8.5.0+11014+88fc0d0b |
| [python-nose-docs](https://patchblox.com/security/data/product/linux/python-nose-docs.md) | RHEL 8 | 0:1.3.7-31.module+el8.5.0+12203+77770ab7 |
| [python-psycopg2-doc](https://patchblox.com/security/data/product/linux/python-psycopg2-doc.md) | RHEL 8 | 0:2.7.5-7.module+el8.1.0+3111+de3f2d8e |
| [python-sqlalchemy-doc](https://patchblox.com/security/data/product/linux/python-sqlalchemy-doc.md) | RHEL 8 | 0:1.3.2-2.module+el8.3.0+6647+8d010749 |
| [python2](https://patchblox.com/security/data/product/linux/python2.md) | RHEL 8 | 0:2.7.18-7.module+el8.5.0+12203+77770ab7 |
| [python2-Cython](https://patchblox.com/security/data/product/linux/python2-cython.md) | RHEL 8 | 0:0.28.1-7.module+el8.1.0+3111+de3f2d8e |
| [python2-PyMySQL](https://patchblox.com/security/data/product/linux/python2-pymysql.md) | RHEL 8 | 0:0.8.0-10.module+el8.1.0+3111+de3f2d8e |
| [python2-attrs](https://patchblox.com/security/data/product/linux/python2-attrs.md) | RHEL 8 | 0:17.4.0-10.module+el8.1.0+3111+de3f2d8e |
| [python2-babel](https://patchblox.com/security/data/product/linux/python2-babel.md) | RHEL 8 | 0:2.5.1-10.module+el8.5.0+11014+88fc0d0b |
| [python2-backports](https://patchblox.com/security/data/product/linux/python2-backports.md) | RHEL 8 | 0:1.0-16.module+el8.4.0+9193+f3daf6ef |
| [python2-backports-ssl_match_hostname](https://patchblox.com/security/data/product/linux/python2-backports-ssl-match-hostname.md) | RHEL 8 | 0:3.5.0.1-12.module+el8.4.0+9193+f3daf6ef |
| [python2-bson](https://patchblox.com/security/data/product/linux/python2-bson.md) | RHEL 8 | 0:3.7.0-1.module+el8.5.0+10264+e5753a40 |
| [python2-chardet](https://patchblox.com/security/data/product/linux/python2-chardet.md) | RHEL 8 | 0:3.0.4-10.module+el8.1.0+3111+de3f2d8e |
| [python2-coverage](https://patchblox.com/security/data/product/linux/python2-coverage.md) | RHEL 8 | 0:4.5.1-4.module+el8.1.0+3111+de3f2d8e |
| [python2-debug](https://patchblox.com/security/data/product/linux/python2-debug.md) | RHEL 8 | 0:2.7.18-7.module+el8.5.0+12203+77770ab7 |
| [python2-devel](https://patchblox.com/security/data/product/linux/python2-devel.md) | RHEL 8 | 0:2.7.18-7.module+el8.5.0+12203+77770ab7 |
| [python2-dns](https://patchblox.com/security/data/product/linux/python2-dns.md) | RHEL 8 | 0:1.15.0-10.module+el8.1.0+3111+de3f2d8e |
| [python2-docs](https://patchblox.com/security/data/product/linux/python2-docs.md) | RHEL 8 | 0:2.7.16-2.module+el8.1.0+3111+de3f2d8e |
| [python2-docs-info](https://patchblox.com/security/data/product/linux/python2-docs-info.md) | RHEL 8 | 0:2.7.16-2.module+el8.1.0+3111+de3f2d8e |
| [python2-docutils](https://patchblox.com/security/data/product/linux/python2-docutils.md) | RHEL 8 | 0:0.14-12.module+el8.1.0+3111+de3f2d8e |
| [python2-funcsigs](https://patchblox.com/security/data/product/linux/python2-funcsigs.md) | RHEL 8 | 0:1.0.2-13.module+el8.1.0+3111+de3f2d8e |
| [python2-idna](https://patchblox.com/security/data/product/linux/python2-idna.md) | RHEL 8 | 0:2.5-7.module+el8.1.0+3111+de3f2d8e |
| [python2-ipaddress](https://patchblox.com/security/data/product/linux/python2-ipaddress.md) | RHEL 8 | 0:1.0.18-6.module+el8.1.0+3111+de3f2d8e |
| [python2-jinja2](https://patchblox.com/security/data/product/linux/python2-jinja2.md) | RHEL 8 | 0:2.10-9.module+el8.5.0+10541+706bb066 |
| [python2-libs](https://patchblox.com/security/data/product/linux/python2-libs.md) | RHEL 8 | 0:2.7.18-7.module+el8.5.0+12203+77770ab7 |
| [python2-lxml](https://patchblox.com/security/data/product/linux/python2-lxml.md) | RHEL 8 | 0:4.2.3-5.module+el8.5.0+10534+22332931 |
| [python2-markupsafe](https://patchblox.com/security/data/product/linux/python2-markupsafe.md) | RHEL 8 | 0:0.23-19.module+el8.1.0+3111+de3f2d8e |
| [python2-mock](https://patchblox.com/security/data/product/linux/python2-mock.md) | RHEL 8 | 0:2.0.0-13.module+el8.1.0+3111+de3f2d8e |
| [python2-nose](https://patchblox.com/security/data/product/linux/python2-nose.md) | RHEL 8 | 0:1.3.7-31.module+el8.5.0+12203+77770ab7 |
| [python2-numpy](https://patchblox.com/security/data/product/linux/python2-numpy.md) | RHEL 8 | 1:1.14.2-16.module+el8.4.0+9406+221a4565 |
| [python2-numpy-doc](https://patchblox.com/security/data/product/linux/python2-numpy-doc.md) | RHEL 8 | 1:1.14.2-16.module+el8.4.0+9406+221a4565 |
| [python2-numpy-f2py](https://patchblox.com/security/data/product/linux/python2-numpy-f2py.md) | RHEL 8 | 1:1.14.2-16.module+el8.4.0+9406+221a4565 |
| [python2-pip](https://patchblox.com/security/data/product/linux/python2-pip.md) | RHEL 8 | 0:9.0.3-18.module+el8.3.0+7707+eb4bba01 |
| [python2-pip-wheel](https://patchblox.com/security/data/product/linux/python2-pip-wheel.md) | RHEL 8 | 0:9.0.3-18.module+el8.3.0+7707+eb4bba01 |
| [python2-pluggy](https://patchblox.com/security/data/product/linux/python2-pluggy.md) | RHEL 8 | 0:0.6.0-8.module+el8.1.0+3111+de3f2d8e |
| [python2-psycopg2](https://patchblox.com/security/data/product/linux/python2-psycopg2.md) | RHEL 8 | 0:2.7.5-7.module+el8.1.0+3111+de3f2d8e |
| [python2-psycopg2-debug](https://patchblox.com/security/data/product/linux/python2-psycopg2-debug.md) | RHEL 8 | 0:2.7.5-7.module+el8.1.0+3111+de3f2d8e |
| [python2-psycopg2-tests](https://patchblox.com/security/data/product/linux/python2-psycopg2-tests.md) | RHEL 8 | 0:2.7.5-7.module+el8.1.0+3111+de3f2d8e |
| [python2-py](https://patchblox.com/security/data/product/linux/python2-py.md) | RHEL 8 | 0:1.5.3-6.module+el8.1.0+3111+de3f2d8e |
| [python2-pygments](https://patchblox.com/security/data/product/linux/python2-pygments.md) | RHEL 8 | 0:2.2.0-22.module+el8.5.0+10788+a4cea9e0 |
| [python2-pymongo](https://patchblox.com/security/data/product/linux/python2-pymongo.md) | RHEL 8 | 0:3.7.0-1.module+el8.5.0+10264+e5753a40 |
| [python2-pymongo-gridfs](https://patchblox.com/security/data/product/linux/python2-pymongo-gridfs.md) | RHEL 8 | 0:3.7.0-1.module+el8.5.0+10264+e5753a40 |
| [python2-pysocks](https://patchblox.com/security/data/product/linux/python2-pysocks.md) | RHEL 8 | 0:1.6.8-6.module+el8.1.0+3111+de3f2d8e |
| [python2-pytest](https://patchblox.com/security/data/product/linux/python2-pytest.md) | RHEL 8 | 0:3.4.2-13.module+el8.1.0+3111+de3f2d8e |
| [python2-pytest-mock](https://patchblox.com/security/data/product/linux/python2-pytest-mock.md) | RHEL 8 | 0:1.9.0-4.module+el8.1.0+3111+de3f2d8e |
| [python2-pytz](https://patchblox.com/security/data/product/linux/python2-pytz.md) | RHEL 8 | 0:2017.2-12.module+el8.1.0+3111+de3f2d8e |
| [python2-pyyaml](https://patchblox.com/security/data/product/linux/python2-pyyaml.md) | RHEL 8 | 0:3.12-16.module+el8.1.0+3111+de3f2d8e |
| [python2-requests](https://patchblox.com/security/data/product/linux/python2-requests.md) | RHEL 8 | 0:2.20.0-3.module+el8.2.0+4577+feefd9b8 |
| [python2-rpm-macros](https://patchblox.com/security/data/product/linux/python2-rpm-macros.md) | RHEL 8 | 0:3-38.module+el8.1.0+3111+de3f2d8e |
| [python2-scipy](https://patchblox.com/security/data/product/linux/python2-scipy.md) | RHEL 8 | 0:1.0.0-21.module+el8.5.0+10858+05337455 |
| [python2-setuptools](https://patchblox.com/security/data/product/linux/python2-setuptools.md) | RHEL 8 | 0:39.0.1-13.module+el8.4.0+9442+27d0e81c |
| [python2-setuptools-wheel](https://patchblox.com/security/data/product/linux/python2-setuptools-wheel.md) | RHEL 8 | 0:39.0.1-13.module+el8.4.0+9442+27d0e81c |
| [python2-setuptools_scm](https://patchblox.com/security/data/product/linux/python2-setuptools-scm.md) | RHEL 8 | 0:1.15.7-6.module+el8.1.0+3111+de3f2d8e |
| [python2-six](https://patchblox.com/security/data/product/linux/python2-six.md) | RHEL 8 | 0:1.11.0-6.module+el8.4.0+9287+299307c7 |
| [python2-sqlalchemy](https://patchblox.com/security/data/product/linux/python2-sqlalchemy.md) | RHEL 8 | 0:1.3.2-2.module+el8.3.0+6647+8d010749 |
| [python2-test](https://patchblox.com/security/data/product/linux/python2-test.md) | RHEL 8 | 0:2.7.18-7.module+el8.5.0+12203+77770ab7 |
| [python2-tkinter](https://patchblox.com/security/data/product/linux/python2-tkinter.md) | RHEL 8 | 0:2.7.18-7.module+el8.5.0+12203+77770ab7 |
| [python2-tools](https://patchblox.com/security/data/product/linux/python2-tools.md) | RHEL 8 | 0:2.7.18-7.module+el8.5.0+12203+77770ab7 |
| [python2-urllib3](https://patchblox.com/security/data/product/linux/python2-urllib3.md) | RHEL 8 | 0:1.24.2-3.module+el8.4.0+9193+f3daf6ef |
| [python2-virtualenv](https://patchblox.com/security/data/product/linux/python2-virtualenv.md) | RHEL 8 | 0:15.1.0-21.module+el8.5.0+12203+77770ab7 |
| [python2-wheel](https://patchblox.com/security/data/product/linux/python2-wheel.md) | RHEL 8 | 1:0.31.1-3.module+el8.5.0+12203+77770ab7 |
| [python2-wheel-wheel](https://patchblox.com/security/data/product/linux/python2-wheel-wheel.md) | RHEL 8 | 1:0.31.1-3.module+el8.5.0+12203+77770ab7 |

## CVEs this fix closes

| CVE | Priority | Title | CVSS | EPSS | Exploitation |
|---|---|---|---:|---:|---|
| [CVE-2021-23336](https://patchblox.com/security/data/cve/CVE-2021-23336.md) | High | Web Cache Poisoning | 9.1 | 0.4074 |  |
| [CVE-2020-27619](https://patchblox.com/security/data/cve/CVE-2020-27619.md) | High | Python 3.7 and 3 others: In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content… | 9.8 | 0.0833 |  |
| [CVE-2021-28957](https://patchblox.com/security/data/cve/CVE-2021-28957.md) | High | python39-rpm-macros: Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, excepti... | 9.1 | 0.0404 |  |
| [CVE-2021-27291](https://patchblox.com/security/data/cve/CVE-2021-27291.md) | High | python3-pygments: In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programminglanguages rely heavily on regular expressions | 7.8 | 0.0391 |  |
| [CVE-2020-28493](https://patchblox.com/security/data/cve/CVE-2020-28493.md) | High | babel: Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, excepti... | 9.1 | 0.0359 |  |
| [CVE-2021-20270](https://patchblox.com/security/data/cve/CVE-2021-20270.md) | High | resource-agents: The resource-agents packages provide the Pacemaker and RGManager service managers with a set of scripts | 7.8 | 0.0276 |  |
| [CVE-2021-42771](https://patchblox.com/security/data/cve/CVE-2021-42771.md) | High | babel: Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, excepti... | 9.1 | 0.0077 |  |
| [CVE-2021-20095](https://patchblox.com/security/data/cve/CVE-2021-20095.md) | High | python2-coverage: Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, excepti... | 9.1 | n/a |  |

---

Data as of 2026-11-07T06:34:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
