Linux Security
    Linux Security
    Linux Security

    Debian: python2.2 buffer overflow and restore functionality fix

    Date 10 Oct 2004
    Posted By LinuxSecurity Advisories
    This security advisory corrects DSA 458-2 which caused a problem in the gethostbyaddr routine.
    Debian Security Advisory DSA 458-3                     This email address is being protected from spambots. You need JavaScript enabled to view it.                             Martin Schulze
    October 10th, 2004             
    Package        : python2.2
    Vulnerability  : buffer overflow
    Problem-Type   : remote
    Debian-specific: no
    CVE Ids        : CAN-2004-0150
    BugTraq ID     : 9836
    Debian Bug     : 248946 269548
    This security advisory corrects DSA 458-2 which caused a problem in
    the gethostbyaddr routine.
    The original advisory said:
       Sebastian Schmidt discovered a buffer overflow bug in Python's
       getaddrinfo function, which could allow an IPv6 address, supplied by a
       remote attacker via DNS, to overwrite memory on the stack.
       This bug only exists in python 2.2 and 2.2.1, and only when IPv6
       support is disabled.  The python2.2 package in Debian woody meets
       these conditions (the 'python' package does not).
    For the stable distribution (woody), this bug has been fixed in
    version 2.2.1-4.6.
    The testing and unstable distribution (sid) are not affected by this
    We recommend that you update your python2.2 packages.
    Upgrade Instructions
    wget url
            will fetch the file for you
    dpkg -i file.deb
            will install the referenced file.
    If you are using the apt-get package manager, use the line for
    sources.list as given below:
    apt-get update
            will update the internal database
    apt-get upgrade
            will install corrected packages
    You may use an automated update by adding the resources from the
    footer to the proper configuration.
    Debian GNU/Linux 3.0 alias woody
      Source archives:
          Size/MD5 checksum:     1150 65937052d54f0c7b0cc3af1edddc1925
          Size/MD5 checksum:    92911 a4e0ecb2438f2fd253e8314cca65327b
          Size/MD5 checksum:  6536167 88aa07574673ccfaf35904253c78fc7d
      Architecture independent components:
          Size/MD5 checksum:   113072 5f7e9187d077e1692088e6945d5c7ae7
          Size/MD5 checksum:  1313122 2af0221c188e29ff449b438949d73614
          Size/MD5 checksum:    50170 ef6cc05e32cfe7fc4ada960c37ecd6c7
          Size/MD5 checksum:   477836 445ea46dcdac693d5a46b6168950e337
      Alpha architecture:
          Size/MD5 checksum:  2138618 71014802aca636504b0489184fd99481
          Size/MD5 checksum:   863846 c02b730460cfcd58e7feaf45d955850c
          Size/MD5 checksum:    18172 8a7cb26f7d8d2e9c551010037180b4b5
          Size/MD5 checksum:    21812 7ea83935f55be726e4a7d3bfb7e5856e
          Size/MD5 checksum:    86310 e65ff0d1a43d76438003cefa82f7102f
          Size/MD5 checksum:    52408 9cc59f32c82565169f9a2686fd2d273e
      ARM architecture:
          Size/MD5 checksum:  1952012 104fba9e75b4d8e696f612627492ba5c
          Size/MD5 checksum:   774610 57a868d154434c5cf1488d1fb841fb29
          Size/MD5 checksum:    16984 6e9a3fd519fae3420b38c5481ac11a61
          Size/MD5 checksum:    20234 9f15f04284c29f052d4266c382854d90
          Size/MD5 checksum:    84596 da71c2d6ac6e66b4f497b0fb15767214
          Size/MD5 checksum:    49838 8de1ee7609f5b5936b073ff4d8f5db9b
      Intel IA-32 architecture:
          Size/MD5 checksum:  1888932 ad8bbd2aafa3038da2c1aecc43b22ab5
          Size/MD5 checksum:   684160 cf84251b2a3efe623dcab22015788f99
          Size/MD5 checksum:    16806 c53ae6b16722d589aa5aa276baa566ea
          Size/MD5 checksum:    20196 c67a9714c3796edae6013c0fddc7fa20
          Size/MD5 checksum:    83434 7cb475335d8d49d34b727548947ab98b
          Size/MD5 checksum:    48840 dc78a697c07f4d56d50adffed1452098
      Intel IA-64 architecture:
          Size/MD5 checksum:  2489870 9143be378efb6984da09a01d71144a3b
          Size/MD5 checksum:   936662 e44335efece83c86a250ab75791df698
          Size/MD5 checksum:    19600 426f4c3cb688edd0dfb55b504186d982
          Size/MD5 checksum:    25532 ed0686f89dc05de69c3ab1fbe55cd9ab
          Size/MD5 checksum:    90470 7ff395f0aa2734f65a0b6a789bca58d4
          Size/MD5 checksum:    56500 8d2a98c254747e64a99c87bbbbaedc3b
      HP Precision architecture:
          Size/MD5 checksum:  2356496 9c2e106c35a485817330372bb509644d
          Size/MD5 checksum:   924892 e80da41da2bb55974989a86336e5583c
          Size/MD5 checksum:    18334 21f548e9db72ef0711b204d71f768a39
          Size/MD5 checksum:    24126 3f8ec452923ac1547f722c72e765bdda
          Size/MD5 checksum:    88150 22621499539fb13cbc5252fde509689f
          Size/MD5 checksum:    55044 41e75afc65e1222939327f6f6cd511d3
      Motorola 680x0 architecture:
          Size/MD5 checksum:  1894508 1b9969831f244341db4107dd13efae71
          Size/MD5 checksum:   661006 d55e77df7256f2925110b3cd55463cd3
          Size/MD5 checksum:    16914 5575632b2e8b9da89be0dbe841a5bac4
          Size/MD5 checksum:    19862 93a4bf6758fe9dce5f26a39cb5af1cbf
          Size/MD5 checksum:    84314 47fa5ee8d6301a363fe8b5138bc7a0d9
          Size/MD5 checksum:    49652 7ac82b67f7714e3c739c428d4cc58b4a
      Big endian MIPS architecture:
          Size/MD5 checksum:  1952692 a2aa6b12ee9a854531c0993559f994af
          Size/MD5 checksum:   790322 df223152f26bd5509e2785f670e4e3b9
          Size/MD5 checksum:    16996 9a3427165c71f0c47fc9836dfbd1c90c
          Size/MD5 checksum:    20264 e757f24a9dc5f17f00f47c848416bbbe
          Size/MD5 checksum:    83424 81dcc21741159e388ba7105e241bdae8
          Size/MD5 checksum:    49010 02d6217b66020e01dcacb1c0b452e222
      Little endian MIPS architecture:
          Size/MD5 checksum:  1947624 0f0f0048c110806d090971d5c49d6324
          Size/MD5 checksum:   790292 b2b78a3e202fd1f629569cd8b18ad78f
          Size/MD5 checksum:    17014 2a8d7f63f912931241b359905a1770d7
          Size/MD5 checksum:    20288 be0b06c3b8c31d21aade281a26ace17a
          Size/MD5 checksum:    83390 dc6cab7251d7c9379577fedf27a162e8
          Size/MD5 checksum:    48950 eaff5cbd52740cdabd4bbde65e70079b
      PowerPC architecture:
          Size/MD5 checksum:  1998612 2aa395086b89e212b13e08cde48fcb00
          Size/MD5 checksum:   775480 f12b92c5c95fb9a2690756cff7f67f94
          Size/MD5 checksum:    17124 5bdad3ccc38b8424045462c8f8fbcf1c
          Size/MD5 checksum:    20830 7ea5f274f679cc3f165d9f2b290a12e6
          Size/MD5 checksum:    85036 33536b14f05ae3ea41aaf45b99939608
          Size/MD5 checksum:    50364 09868f875519c40ea919b0326732b40e
      IBM S/390 architecture:
          Size/MD5 checksum:  1940578 8aa88725b01ec65f9851d8b02214268c
          Size/MD5 checksum:   692730 8da1a5ada48bc2e358d65ff703a51ded
          Size/MD5 checksum:    17364 6dc8793cdc3f4c9a1e16773360fdd4a0
          Size/MD5 checksum:    20606 bbd4112275acebf6df1e49884adaf9e7
          Size/MD5 checksum:    85418 0d22d96774004214091360e8e2027d9f
          Size/MD5 checksum:    49908 213367943a126d7a5b9936369bcbf386
      Sun Sparc architecture:
          Size/MD5 checksum:  2036856 2c05e46687d01ab3e5fad8461e0ec802
          Size/MD5 checksum:   738218 a3f4fd77c5b92e9f8476c016e03d9906
          Size/MD5 checksum:    20108 e016583febe12d5bb26cdbb524eafd71
          Size/MD5 checksum:    19756 e7148222583dd66dc72fd50d667a4ee4
          Size/MD5 checksum:    84240 88c89b96ddede09ebd8fa7502cda42ca
          Size/MD5 checksum:    49618 77f444e08be3d7176da149b90439f655
      These files will probably be moved into the stable distribution on
      its next update.
    For apt-get: deb stable/updates main
    For dpkg-ftp: dists/stable/updates/main
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    Package info: `apt-cache show ' and

    LinuxSecurity Poll

    'Tis the season of giving! How have you given back to the open-source community?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    [{"id":"171","title":"I've contributed to the development of an open-source project.","votes":"8","type":"x","order":"1","pct":27.59,"resources":[]},{"id":"172","title":"I've reviewed open-source code for security bugs.","votes":"6","type":"x","order":"2","pct":20.69,"resources":[]},{"id":"173","title":"I've made a donation to an open-source project.","votes":"15","type":"x","order":"3","pct":51.72,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

    Please vote first in order to view vote results.


    bottom 200

    Please enable / Bitte aktiviere JavaScript!
    Veuillez activer / Por favor activa el Javascript![ ? ]

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.