Red Hat Security Advisory 2024-2987-03 - An update for the python27:2.7 module is now available for Red Hat Enterprise Linux 8. Issues addressed include XML injection, denial of service, and use-after-free vulnerabilities.
de31d9aae2979216f7e6c77b4e73b32b83c762f72ca1574de50ab83fbe2a79d6
The following advisory data is extracted from:
https://access.redhat.com/security/data/csaf/v2/advisories/2024/rhsa-2024_2987.json
Red Hat officially shut down their mailing list notifications October 10, 2023. Due to this, Packet Storm has recreated the below data as a reference point to raise awareness. It must be noted that due to an inability to easily track revision updates without crawling Red Hat's archive, these advisories are single notifications and we strongly suggest that you visit the Red Hat provided links to ensure you have the latest information available if the subject matter listed pertains to your environment.
- Packet Storm Staff
====================================================================
Red Hat Security Advisory
Synopsis: Moderate: python27:2.7 security update
Advisory ID: RHSA-2024:2987-03
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2024:2987
Issue date: 2024-05-22
Revision: 03
CVE Names: CVE-2022-40897
====================================================================
Summary:
An update for the python27:2.7 module is now available for Red Hat Enterprise Linux 8.
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.
Description:
Python is an interpreted, interactive, object-oriented programming language that supports modules, classes, exceptions, high-level dynamic data types, and dynamic typing. The python27 packages provide a stable release of Python 2.7 with a number of additional utilities and database connectors for MySQL and PostgreSQL.
Security Fix(es):
* pypa-setuptools: Regular Expression Denial of Service (ReDoS) in package_index.py (CVE-2022-40897)
* python: use after free in heappushpop() of heapq module (CVE-2022-48560)
* python: XML External Entity in XML processing plistlib module (CVE-2022-48565)
* python-urllib3: Cookie request header isn't stripped during cross-origin redirects (CVE-2023-43804)
* jinja2: HTML attribute injection when passing user input as keys to xmlattr filter (CVE-2024-22195)
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 Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.10 Release Notes linked from the References section.
Solution:
https://access.redhat.com/articles/11258
CVEs:
CVE-2022-40897
References:
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.10_release_notes/index
https://bugzilla.redhat.com/show_bug.cgi?id=2158559
https://bugzilla.redhat.com/show_bug.cgi?id=2240059
https://bugzilla.redhat.com/show_bug.cgi?id=2242493
https://bugzilla.redhat.com/show_bug.cgi?id=2249755
https://bugzilla.redhat.com/show_bug.cgi?id=2257854