[ GLSA 200409-03 ] Python 2.2: Buffer overflow in getaddrinfo()

From: Thierry Carrez (koon_at_gentoo.org)
Date: 09/02/04

  • Next message: Thierry Carrez: "[Full-Disclosure] [ GLSA 200409-04 ] Squid: Denial of service when using NTLM authentication"
    Date: Thu, 02 Sep 2004 22:20:34 +0200
    To: gentoo-announce@lists.gentoo.org
    
    

    -----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
    security@gentoo.org 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-----


  • Next message: Thierry Carrez: "[Full-Disclosure] [ GLSA 200409-04 ] Squid: Denial of service when using NTLM authentication"

    Relevant Pages

    • [ GLSA 200409-03 ] Python 2.2: Buffer overflow in getaddrinfo()
      ... Python 2.2 has a vulnerability in DNS handling when IPV6 is disabled ... Python is an interpreted, interactive, object-oriented, cross-platform ... If IPV6 is disabled in Python 2.2, getaddrinfo() is not able to handle ... Security is a primary focus of Gentoo Linux and ensuring the ...
      (Bugtraq)
    • [Full-Disclosure] [ GLSA 200409-03 ] Python 2.2: Buffer overflow in getaddrinfo()
      ... Python 2.2 has a vulnerability in DNS handling when IPV6 is disabled ... Python is an interpreted, interactive, object-oriented, cross-platform ... If IPV6 is disabled in Python 2.2, getaddrinfo() is not able to handle ... Security is a primary focus of Gentoo Linux and ensuring the ...
      (Full-Disclosure)
    • result sorting in socket.getaddrinfo?
      ... sorry for bothering, I'm not a programmer and I don't do much python, ... Gentoo's portage system is implemented in python calling rsync to sync ... Now to support IPv6 addresses one has to use socket.getaddrinfo. ... resolver server indeed answers with randomized order, ...
      (comp.lang.python)
    • [NEWS] Multiple Crafted IPv6 Packets Cause Reload
      ... Get your security news from a reliable source. ... Denial of Service attack from crafted IPv6 packets when the device ... Cisco has made free software available to address this vulnerability. ... Infrastructure Protection Access Control Lists", ...
      (Securiteam)
    • Re: New to Python: Features
      ... Is that a limitation of the language (the security holes I mean)? ... >done with Python. ... >You can, of course, design by contract. ...
      (comp.lang.python)

  • Quantcast