OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA31305] Python Multiple Vulnerabilities

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Mon Aug 04 2008 - 11:24:05 CDT


----------------------------------------------------------------------

Want a new job?

http://secunia.com/secunia_security_specialist/
http://secunia.com/hardcore_disassembler_and_reverse_engineer/

International Partner Manager - Project Sales in the IT-Security
Industry:
http://corporate.secunia.com/about_secunia/64/

----------------------------------------------------------------------

TITLE:
Python Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA31305

VERIFY ADVISORY:
http://secunia.com/advisories/31305/

CRITICAL:
Moderately critical

IMPACT:
Unknown, DoS, System access

WHERE:
From remote

SOFTWARE:
Python 2.5.x
http://secunia.com/product/14172/
Python 2.4.x
http://secunia.com/product/4604/

DESCRIPTION:
Some vulnerabilities have been reported in Python, where some have
unknown impact and others can potentially be exploited by malicious
people to cause a DoS (Denial of Service) or to compromise a
vulnerable system.

1) Various integer overflow errors exist in core modules e.g.
stringobject, unicodeobject, bufferobject, longobject, tupleobject,
stropmodule, gcmodule, mmapmodule.

2) An integer overflow in the hashlib module can lead to an
unreliable cryptographic digest results.

3) Integer overflow errors in the processing of unicode strings can
be exploited to cause buffer overflows on 32-bit systems.

4) An integer overflow exists in the PyOS_vsnprintf() function on
architectures that do not have a "vsnprintf()" function.

5) An integer underflow error in the PyOS_vsnprintf() function when
passing zero-length strings can lead to memory corruption.

Successful exploitation of some of these vulnerabilities may allow to
crash an application or to execute arbitrary code, but depends on the
implementation of an Python application.

SOLUTION:
Fixed in the SVN repository.

PROVIDED AND/OR DISCOVERED BY:
1,2) Gentoo credits David Remahl of Apple Product Security
3, 4, 5) Justin Ferguson

ORIGINAL ADVISORY:
Python:
http://bugs.python.org/issue2620
http://bugs.python.org/issue2588
http://bugs.python.org/issue2589
http://svn.python.org/view?rev=65335&view=rev

Gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=230640
http://bugs.gentoo.org/show_bug.cgi?id=232137

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------