[ GLSA 200409-03 ] Python 2.2: Buffer overflow in getaddrinfo()
Date: Thu, 02 Sep 2004 22:20:34 +0200
From: Thierry Carrez <[email protected]>
To: [email protected]
Subject: [ GLSA 200409-03 ] Python 2.2: Buffer overflow in getaddrinfo()
Cc: [email protected], [email protected],
[email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200409-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: Python 2.2: Buffer overflow in getaddrinfo()
Date: September 02, 2004
Bugs: #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 / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-lang/python < 2.2.2 >= 2.2.2
< 2.2
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:
# emerge sync
# emerge -pv ">=dev-lang/python-2.2.2"
# emerge ">=dev-lang/python-2.2.2"
References
==========
[ 1 ] CVE-2004-0150
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0150
[ 2 ] OSVDB:4172
http://www.osvdb.org/4172
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200409-03.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBN4CSvcL1obalX08RAprZAJ49/Kwlu+mF5NXrNAXWZ7ypSHfFLQCfQUGV
jnqJRnUP5OwSLEYNBHoD8Dc=
=Q4sn
-----END PGP SIGNATURE-----