# RHSA-2024:2985: Security update for 49 packages

RHSA-2024:2985, released May 22, 2024, fixes 4 CVEs across 49 products. None of them is reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/fix/linux/rhsa-2024-2985
- Platform: Linux
- Released: May 22, 2024
- Priority: High (Closes CVE-2022-40897, high severity)
- CVEs: 4, exploited: 0, on CISA KEV: 0
- Vendor advisory: https://access.redhat.com/errata/RHSA-2024:2985

## Applies to

| Product | Release | Fixed in |
|---|---|---|
| [python39](https://patchblox.com/security/data/product/linux/python39.md) | RHEL 8 | 0:3.9.18-3.module+el8.10.0+21142+453d2b75 |
| [python39-Cython](https://patchblox.com/security/data/product/linux/python39-cython.md) | RHEL 8 | 0:0.29.21-5.module+el8.9.0+19644+d68f775d |
| [python39-PyMySQL](https://patchblox.com/security/data/product/linux/python39-pymysql.md) | RHEL 8 | 0:0.10.1-2.module+el8.9.0+19644+d68f775d |
| [python39-attrs](https://patchblox.com/security/data/product/linux/python39-attrs.md) | RHEL 8 | 0:20.3.0-2.module+el8.9.0+19644+d68f775d |
| [python39-cffi](https://patchblox.com/security/data/product/linux/python39-cffi.md) | RHEL 8 | 0:1.14.3-2.module+el8.9.0+19644+d68f775d |
| [python39-chardet](https://patchblox.com/security/data/product/linux/python39-chardet.md) | RHEL 8 | 0:3.0.4-19.module+el8.9.0+19644+d68f775d |
| [python39-cryptography](https://patchblox.com/security/data/product/linux/python39-cryptography.md) | RHEL 8 | 0:3.3.1-3.module+el8.10.0+21271+eccd1d86 |
| [python39-debug](https://patchblox.com/security/data/product/linux/python39-debug.md) | RHEL 8 | 0:3.9.18-3.module+el8.10.0+21142+453d2b75 |
| [python39-devel](https://patchblox.com/security/data/product/linux/python39-devel.md) | RHEL 8 | 0:3.9.18-3.module+el8.10.0+21142+453d2b75 |
| [python39-idle](https://patchblox.com/security/data/product/linux/python39-idle.md) | RHEL 8 | 0:3.9.18-3.module+el8.10.0+21142+453d2b75 |
| [python39-idna](https://patchblox.com/security/data/product/linux/python39-idna.md) | RHEL 8 | 0:2.10-3.module+el8.9.0+19644+d68f775d |
| [python39-iniconfig](https://patchblox.com/security/data/product/linux/python39-iniconfig.md) | RHEL 8 | 0:1.1.1-2.module+el8.9.0+19644+d68f775d |
| [python39-libs](https://patchblox.com/security/data/product/linux/python39-libs.md) | RHEL 8 | 0:3.9.18-3.module+el8.10.0+21142+453d2b75 |
| [python39-lxml](https://patchblox.com/security/data/product/linux/python39-lxml.md) | RHEL 8 | 0:4.6.5-1.module+el8.9.0+19644+d68f775d |
| [python39-mod_wsgi](https://patchblox.com/security/data/product/linux/python39-mod-wsgi.md) | RHEL 8 | 0:4.7.1-7.module+el8.9.0+19644+d68f775d |
| [python39-more-itertools](https://patchblox.com/security/data/product/linux/python39-more-itertools.md) | RHEL 8 | 0:8.5.0-2.module+el8.9.0+19644+d68f775d |
| [python39-numpy](https://patchblox.com/security/data/product/linux/python39-numpy.md) | RHEL 8 | 0:1.19.4-3.module+el8.9.0+19644+d68f775d |
| [python39-numpy-doc](https://patchblox.com/security/data/product/linux/python39-numpy-doc.md) | RHEL 8 | 0:1.19.4-3.module+el8.9.0+19644+d68f775d |
| [python39-numpy-f2py](https://patchblox.com/security/data/product/linux/python39-numpy-f2py.md) | RHEL 8 | 0:1.19.4-3.module+el8.9.0+19644+d68f775d |
| [python39-packaging](https://patchblox.com/security/data/product/linux/python39-packaging.md) | RHEL 8 | 0:20.4-4.module+el8.9.0+19644+d68f775d |
| [python39-pip](https://patchblox.com/security/data/product/linux/python39-pip.md) | RHEL 8 | 0:20.2.4-9.module+el8.10.0+21329+8d76b841 |
| [python39-pip-wheel](https://patchblox.com/security/data/product/linux/python39-pip-wheel.md) | RHEL 8 | 0:20.2.4-9.module+el8.10.0+21329+8d76b841 |
| [python39-pluggy](https://patchblox.com/security/data/product/linux/python39-pluggy.md) | RHEL 8 | 0:0.13.1-3.module+el8.9.0+19644+d68f775d |
| [python39-ply](https://patchblox.com/security/data/product/linux/python39-ply.md) | RHEL 8 | 0:3.11-10.module+el8.9.0+19644+d68f775d |
| [python39-psutil](https://patchblox.com/security/data/product/linux/python39-psutil.md) | RHEL 8 | 0:5.8.0-4.module+el8.9.0+19644+d68f775d |
| [python39-psycopg2](https://patchblox.com/security/data/product/linux/python39-psycopg2.md) | RHEL 8 | 0:2.8.6-3.module+el8.10.0+21142+453d2b75 |
| [python39-psycopg2-doc](https://patchblox.com/security/data/product/linux/python39-psycopg2-doc.md) | RHEL 8 | 0:2.8.6-3.module+el8.10.0+21142+453d2b75 |
| [python39-psycopg2-tests](https://patchblox.com/security/data/product/linux/python39-psycopg2-tests.md) | RHEL 8 | 0:2.8.6-3.module+el8.10.0+21142+453d2b75 |
| [python39-py](https://patchblox.com/security/data/product/linux/python39-py.md) | RHEL 8 | 0:1.10.0-1.module+el8.9.0+19644+d68f775d |
| [python39-pybind11](https://patchblox.com/security/data/product/linux/python39-pybind11.md) | RHEL 8 | 0:2.7.1-1.module+el8.9.0+19644+d68f775d |
| [python39-pybind11-devel](https://patchblox.com/security/data/product/linux/python39-pybind11-devel.md) | RHEL 8 | 0:2.7.1-1.module+el8.9.0+19644+d68f775d |
| [python39-pycparser](https://patchblox.com/security/data/product/linux/python39-pycparser.md) | RHEL 8 | 0:2.20-3.module+el8.9.0+19644+d68f775d |
| [python39-pyparsing](https://patchblox.com/security/data/product/linux/python39-pyparsing.md) | RHEL 8 | 0:2.4.7-5.module+el8.9.0+19644+d68f775d |
| [python39-pysocks](https://patchblox.com/security/data/product/linux/python39-pysocks.md) | RHEL 8 | 0:1.7.1-4.module+el8.9.0+19644+d68f775d |
| [python39-pytest](https://patchblox.com/security/data/product/linux/python39-pytest.md) | RHEL 8 | 0:6.0.2-2.module+el8.9.0+19644+d68f775d |
| [python39-pyyaml](https://patchblox.com/security/data/product/linux/python39-pyyaml.md) | RHEL 8 | 0:5.4.1-1.module+el8.9.0+19644+d68f775d |
| [python39-requests](https://patchblox.com/security/data/product/linux/python39-requests.md) | RHEL 8 | 0:2.25.0-3.module+el8.9.0+19644+d68f775d |
| [python39-rpm-macros](https://patchblox.com/security/data/product/linux/python39-rpm-macros.md) | RHEL 8 | 0:3.9.18-3.module+el8.10.0+21142+453d2b75 |
| [python39-scipy](https://patchblox.com/security/data/product/linux/python39-scipy.md) | RHEL 8 | 0:1.5.4-5.module+el8.9.0+19644+d68f775d |
| [python39-setuptools](https://patchblox.com/security/data/product/linux/python39-setuptools.md) | RHEL 8 | 0:50.3.2-5.module+el8.10.0+20345+671a55aa |
| [python39-setuptools-wheel](https://patchblox.com/security/data/product/linux/python39-setuptools-wheel.md) | RHEL 8 | 0:50.3.2-5.module+el8.10.0+20345+671a55aa |
| [python39-six](https://patchblox.com/security/data/product/linux/python39-six.md) | RHEL 8 | 0:1.15.0-3.module+el8.9.0+19644+d68f775d |
| [python39-test](https://patchblox.com/security/data/product/linux/python39-test.md) | RHEL 8 | 0:3.9.18-3.module+el8.10.0+21142+453d2b75 |
| [python39-tkinter](https://patchblox.com/security/data/product/linux/python39-tkinter.md) | RHEL 8 | 0:3.9.18-3.module+el8.10.0+21142+453d2b75 |
| [python39-toml](https://patchblox.com/security/data/product/linux/python39-toml.md) | RHEL 8 | 0:0.10.1-5.module+el8.9.0+19644+d68f775d |
| [python39-urllib3](https://patchblox.com/security/data/product/linux/python39-urllib3.md) | RHEL 8 | 0:1.25.10-5.module+el8.10.0+20443+f0a692fe |
| [python39-wcwidth](https://patchblox.com/security/data/product/linux/python39-wcwidth.md) | RHEL 8 | 0:0.2.5-3.module+el8.9.0+19644+d68f775d |
| [python39-wheel](https://patchblox.com/security/data/product/linux/python39-wheel.md) | RHEL 8 | 1:0.35.1-4.module+el8.9.0+19644+d68f775d |
| [python39-wheel-wheel](https://patchblox.com/security/data/product/linux/python39-wheel-wheel.md) | RHEL 8 | 1:0.35.1-4.module+el8.9.0+19644+d68f775d |

## CVEs this fix closes

| CVE | Priority | Title | CVSS | EPSS | Exploitation |
|---|---|---|---:|---:|---|
| [CVE-2022-40897](https://patchblox.com/security/data/cve/CVE-2022-40897.md) | High | python3-setuptools-wheel: The python-setuptools package provides a collection of enhancements to Python distribution utilities allowing conveni... | 7.8 | 0.0263 |  |
| [CVE-2023-43804](https://patchblox.com/security/data/cve/CVE-2023-43804.md) | High | python-urllib3: urllib3 is a user-friendly HTTP client library for Python | 8.1 | 0.0136 |  |
| [CVE-2023-27043](https://patchblox.com/security/data/cve/CVE-2023-27043.md) | Routine | Python 3.10 and 8 others: Improper Input Validation | 5.3 | 0.0253 |  |
| [CVE-2023-23931](https://patchblox.com/security/data/cve/CVE-2023-23931.md) | Routine | python3-cryptography: cryptography is a package designed to expose cryptographic primitives and recipes to Python developers | 6.5 | 0.0130 |  |

---

Data as of 2026-11-07T12:40:37Z 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
