Advisories » MGASA-2024-0317

Updated python3 packages fix security vulnerabilities

Publication date: 27 Sep 2024
Modification date: 27 Sep 2024
Type: security
Affected Mageia releases : 9
CVE: CVE-2024-0397 , CVE-2024-4032 , CVE-2024-6923 , CVE-2024-8088 , CVE-2024-6232 , CVE-2024-7592 , CVE-2015-2104 , CVE-2023-27043

Description

A defect was discovered in the Python “ssl” module where there is a
memory race condition with the ssl.SSLContext methods
“cert_store_stats()” and “get_ca_certs()”. The race condition can be
triggered if the methods are called at the same time as certificates are
loaded into the SSLContext, such as during the TLS handshake with a
certificate directory configured. (CVE-2024-0397)
The “ipaddress” module contained incorrect information about whether
certain IPv4 and IPv6 addresses were designated as “globally reachable”
or “private”. This affected the is_private and is_global properties of
the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address,
and ipaddress.IPv6Network classes, where values wouldn’t be returned in
accordance with the latest information from the IANA Special-Purpose
Address Registries. (CVE-2024-4032)
The email module didn’t properly quote newlines for email headers when
serializing an email message allowing for header injection when an email
is serialized. (CVE-2024-6923)
When iterating over names of entries in a zip archive (for example,
methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the
process can be put into an infinite loop with a maliciously crafted zip
archive. This defect applies when reading only metadata or extracting
the contents of the zip archive. Programs that are not handling
user-controlled zip archives are not affected. (CVE-2024-8088)
Regular expressions that allowed excessive backtracking during
tarfile.TarFile header parsing are vulnerable to ReDoS via
specifically-crafted tar archives. (CVE-2024-6232)
When parsing cookies that contained backslashes for quoted characters in
the cookie value, the parser would use an algorithm with quadratic
complexity, resulting in excess CPU resources being used while parsing
the value. (CVE-2024-7592)
Urlparse insufficient validation leads to open redirect. (CVE-2015-2104)
The email module of Python through 3.11.3 incorrectly parses e-mail
addresses that contain a special character. The wrong portion of an
RFC2822 header is identified as the value of the addr-spec. In some
applications, an attacker can bypass a protection mechanism in which
application access is granted only after verifying receipt of e-mail to
a specific domain (e.g., only @company.example.com addresses may be used
for signup). This occurs in email/_parseaddr.py in recent versions of
Python. (CVE-2023-27043)
                

References

SRPMS

9/core