GLSA Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 Location: Essen, Germany
|
Posted: Thu Sep 02, 2004 9:12 pm Post subject: [ GLSA 200409-03 ] Python 2.2: Buffer overflow in getaddrinf |
|
|
Gentoo Linux Security Advisory
Title: Python 2.2: Buffer overflow in getaddrinfo() (GLSA 200409-03)
Severity: high
Exploitable: remote
Date: September 02, 2004
Bug(s): #62440
ID: 200409-03
Synopsis
Python 2.2 has a vulnerability in DNS handling when IPV6 is disabled and a malformed IPV6 address is encountered by getaddrinfo().
Background
Python is an interpreted, interactive, object-oriented, cross-platform programming language.
Affected Packages
Package: dev-lang/python
Vulnerable: < 2.2.2
Unaffected: >= 2.2.2
Unaffected: < 2.2
Architectures: All supported architectures
Description
If IPV6 is disabled in Python 2.2, getaddrinfo() is not able to handle IPV6 DNS requests properly and a buffer overflow occurs.
Impact
An attacker can execute arbitrary code as the user running python.
Workaround
Users with IPV6 enabled are not affected by this vulnerability.
Resolution
All Python 2.2 users should upgrade to the latest version: Code: | # emerge sync
# emerge -pv ">=dev-lang/python-2.2.2"
# emerge ">=dev-lang/python-2.2.2" |
References
CVE-2004-0150
OSVDB:4172
Last edited by GLSA on Thu Mar 08, 2007 4:16 am; edited 3 times in total |
|