Alerts This Week
Warning Icon 1 483
Alerts This Week
Warning Icon 1 483

Canonical Ubuntu Linux 18.04 USN-4210-1 Python Security Vulnerability Patch

red hat
Calendar Grey July 27, 2009
Dist Redhat Esm H88
Updated Python packages address multiple moderate security issues for Red Hat, including risks of code execution and denial of service.
Updated python packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Re...

Solution

Before applying this update, make sure that all previously-released errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at

Summary

Python is an interpreted, interactive, object-oriented programming language.
When the assert() system call was disabled, an input sanitization flaw was revealed in the Python string object implementation that led to a buffer overflow. The missing check for negative size values meant the Python memory allocator could allocate less memory than expected. This could result in arbitrary code execution with the Python interpreter's privileges. (CVE-2008-1887)
Multiple buffer and integer overflow flaws were found in the Python Unicode string processing and in the Python Unicode and string object implementations. An attacker could use these flaws to cause a denial of service (Python application crash). (CVE-2008-3142, CVE-2008-5031)
Multiple integer overflow flaws were found in the Python imageop module. If a Python application used the imageop module to process untrusted images, it could cause the application to disclose sensitive information, crash or, potentially, execute arbitrary code with the Python interpreter's privileges. (CVE-2007-4965, CVE-2008-4864)
Multiple integer underflow and overflow flaws were found in the Python snprintf() wrapper implementation. An attacker could use these flaws to cause a denial of service (memory corruption). (CVE-2008-3144)
Multiple integer overflow flaws were found in various Python modules. An attacker could use these flaws to cause a denial of service (Python application crash). (CVE-2008-2315, CVE-2008-3143)
An integer signedness error, leading to a buffer overflow, was found in the Python zlib extension module. If a Python application requested the negative byte count be flushed for a decompression stream, it could cause the application to crash or, potentially, execute arbitrary code with the Python interpreter's privileges. (CVE-2008-1721)
A flaw was discovered in the strxfrm() function of the Python locale module. Strings generated by this function were not properly NULL-terminated, which could possibly cause disclosure of data stored in the memory of a Python application using this function. (CVE-2007-2052)
Red Hat would like to thank David Remahl of the Apple Product Security team for responsibly reporting the CVE-2008-2315 issue.
All Python users should upgrade to these updated packages, which contain backported patches to correct these issues.

References

https://www.cve.org/CVERecord?id=CVE-2007-2052 https://www.cve.org/CVERecord?id=CVE-2007-4965 https://www.cve.org/CVERecord?id=CVE-2008-1721 https://www.cve.org/CVERecord?id=CVE-2008-1887 https://www.cve.org/CVERecord?id=CVE-2008-2315 https://www.cve.org/CVERecord?id=CVE-2008-3142 https://www.cve.org/CVERecord?id=CVE-2008-3143 https://www.cve.org/CVERecord?id=CVE-2008-3144 https://www.cve.org/CVERecord?id=CVE-2008-4864 https://www.cve.org/CVERecord?id=CVE-2008-5031 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Enterprise Linux Desktop (v. 5 client):
Source:
i386: python-2.4.3-24.el5_3.6.i386.rpm python-debuginfo-2.4.3-24.el5_3.6.i386.rpm python-tools-2.4.3-24.el5_3.6.i386.rpm tkinter-2.4.3-24.el5_3.6.i386.rpm
x86_64: python-2.4.3-24.el5_3.6.x86_64.rpm python-debuginfo-2.4.3-24.el5_3.6.x86_64.rpm python-tools-2.4.3-24.el5_3.6.x86_64.rpm tkinter-2.4.3-24.el5_3.6.x86_64.rpm
RHEL Desktop Workstation (v. 5 client):
Source:
i386: python-debuginfo-2.4.3-24.el5_3.6.i386.rpm python-devel-2.4.3-24.el5_3.6.i386.rpm
x86_64: python-debuginfo-2.4.3-24.el5_3.6.i386.rpm python-debuginfo-2.4.3-24.el5_3.6.x86_64.rpm python-devel-2.4.3-24.el5_3.6.i386.rpm python-devel-2.4.3-24.el5_3.6.x86_64.rpm
Red Hat Enterprise Linux (v. 5 server):
Source:
i386: python-2.4.3-24.el5_3.6.i386.rpm python-debuginfo-2.4.3-24.el5_3.6.i386.rpm python-devel-2.4.3-24.el5_3.6.i386.rpm python-tools-2.4.3-24.el5_3.6.i386.rpm tkinter-2.4.3-24.el5_3.6.i386.rpm
ia64: python-2.4.3-24.el5_3.6.ia64.rpm python-debuginfo-2.4.3-24.el5_3.6.ia64.rpm python-devel-2.4.3-24.el5_3.6.ia64.rpm python-tools-2.4.3-24.el5_3.6.ia64.rpm tkinter-2.4.3-24.el5_3.6.ia64.rpm
ppc: python-2.4.3-24.el5_3.6.ppc.rpm python-debuginfo-2.4.3-24.el5_3.6.ppc.rpm python-debuginfo-2.4.3-24.el5_3.6.ppc64.rpm python-devel-2.4.3-24.el5_3.6.ppc.rpm

Read the Full Advisory


Advisory ID: RHSA-2009:1176-01
Product: Red Hat Enterprise Linux
Issue date: 2009-07-27

Topic

Updated python packages that fix multiple security issues are now availablefor Red Hat Enterprise Linux 5.This update has been rated as having moderate security impact by the RedHat Security Response Team.

Relevant Releases Architectures

Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

RHEL Desktop Workstation (v. 5 client) - i386, x86_64

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64

Bugs Fixed

235093 - CVE-2007-2052 python off-by-one locale.strxfrm() (possible memory disclosure)

295971 - CVE-2007-4965 python imageop module heap corruption

442005 - CVE-2008-1721 python: integer signedness error in the zlib extension module

443810 - CVE-2008-1887 python: PyString_FromStringAndSize does not check for negative size values

454990 - CVE-2008-3142 python: Multiple buffer overflows in unicode processing

455008 - CVE-2008-2315 python: Multiple integer overflows in python core

455013 - CVE-2008-3143 python: Multiple integer overflows discovered by Google

455018 - CVE-2008-3144 python: Potential integer underflow and overflow in the PyOS_vsnprintf C API function

469656 - CVE-2008-4864 python: imageop module multiple integer overflows

470915 - CVE-2008-5031 python: stringobject, unicodeobject integer overflows

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here