Audit Linux privileges now to limit compromise, escalation, and system-wide damage. Review Linux Privileges×

Alerts This Week
Warning Icon 1 438
Alerts This Week
Warning Icon 1 438

Scientific Linux: Moderate Python Update for Memory & Integer Issues

Scientific Large Esm H446
Moderate: python security update
Date: Mon, 27 Jul 2009 14:59:34 -0500
Reply-To: Connie Sieh 
Sender: Security Errata for Scientific Linux
 
From: Connie Sieh 
Subject: Security ERRATA Moderate: python for SL5.x i386/x86_64
Comments: To: scientific 

Synopsis: Moderate: python security update
CVE Names: CVE-2007-2052 python off-by-one locale.strxfrm() (possible memory
disclosure)
 CVE-2007-4965 python imageop module heap corruption
 CVE-2008-1721 python: integer signedness error in the zlib extension module
 CVE-2008-1887 python: PyString_FromStringAndSize does not check for
negative size values
 CVE-2008-3142 python: Multiple buffer overflows in unicode processing
 CVE-2008-2315 python: Multiple integer overflows in python core
 CVE-2008-3143 python: Multiple integer overflows discovered by Google
 CVE-2008-3144 python: Potential integer underflow and overflow in the PyOS_vsnprintf C API function
 CVE-2008-4864 python: imageop module multiple integer overflows
 CVE-2008-5031 python: stringobject, unicodeobject integer overflows

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)

Would like to thank David Remahl of the Apple Product Security team
for responsibly reporting the CVE-2008-2315 issue.

SRPM:
 python-2.4.3-24.el5_3.6.src.rpm

i386:
 python-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

x86_64:
 python-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
 python-tools-2.4.3-24.el5_3.6.x86_64.rpm
 tkinter-2.4.3-24.el5_3.6.x86_64.rpm

-Connie Sieh
-Troy Dawson