- ------------------------------------------------------------------------Debian Security Advisory DSA-1620-1                  security@debian.org
http://www.debian.org/security/                       Moritz Muehlenhoff
July 27, 2008                         http://www.debian.org/security/faq
- ------------------------------------------------------------------------Package        : python2.5
Vulnerability  : several
Problem type   : local(remote)
Debian-specific: no
CVE Id(s)      : CVE-2007-2052 CVE-2007-4965 CVE-2008-1679 CVE-2008-1721 CVE-2008-1887

Several vulnerabilities have been discovered in the interpreter for the
Python language. The Common Vulnerabilities and Exposures project identifies
the following problems:

CVE-2007-2052

    Piotr Engelking discovered that the strxfrm() function of the locale
    module miscalculates the length of an internal buffer, which may
    result in a minor information disclosure.

CVE-2007-4965

    It was discovered that several integer overflows in the imageop
    module may lead to the execution of arbitrary code, if a user is
    tricked into processing malformed images. This issue is also
    tracked as CVE-2008-1679 due to an initially incomplete patch.

CVE-2008-1721
 
    Justin Ferguson discovered that a buffer overflow in the zlib
    module may lead to the execution of arbitrary code.

CVE-2008-1887

    Justin Ferguson discovered that insufficient input validation in
    PyString_FromStringAndSize() may lead to the execution of arbitrary
    code.

For the stable distribution (etch), these problems have been fixed in
version 2.5-5+etch1.

For the unstable distribution (sid), these problems have been fixed in
version 2.5.2-3.

We recommend that you upgrade your python2.5 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 4.0 alias etch
- -------------------------------Stable updates are available for alpha, amd64, arm, hppa, i386, ia64, mips, mipsel, powerpc, s390 and sparc.

Source archives:

      Size/MD5 checksum:     1304 1849941ac328ba0bccc45535c5878d4d
      Size/MD5 checksum: 11010528 2ce301134620012ad6dafb27bbcab7eb
      Size/MD5 checksum:   266589 dfbdc5caf7a95e68f68e0351228284d4

Architecture independent packages:

      Size/MD5 checksum:   643494 f922c5e48339e5b535a1f23f6e061700
      Size/MD5 checksum:    63258 4add97730079e7894abbbca4ba5659d4

alpha architecture (DEC Alpha)

      Size/MD5 checksum:   849132 28c76f70110314eab90c8ea31d0da51e
      Size/MD5 checksum:  2065734 270d593f08cdd06cbe55bdb804a5dc43
      Size/MD5 checksum:  3596900 64d12cc349030683dc125901dff56feb
      Size/MD5 checksum:  6079808 4105398688a96f54fb7e043a3bd536d7

amd64 architecture (AMD x86_64 (AMD64))

      Size/MD5 checksum:  6432058 b7e802bf4a19edfaddc28ebc06bed279
      Size/MD5 checksum:  3589530 9bbd2cea36b04746fa5437d984147f99
      Size/MD5 checksum:  1806598 98bfee87311a8950462a9ab78c7d5719
      Size/MD5 checksum:   849650 a95eeb3b45a0a3f74e314084d581fbd6

arm architecture (ARM)

      Size/MD5 checksum:  1656006 8e8d3d3b991f317384fc1646139712d4
      Size/MD5 checksum:   781358 fbb5adac7469048405b2585475393475
      Size/MD5 checksum:  3447404 4a10cad96ef0aefc9ba916a39677b826
      Size/MD5 checksum:  6017500 f727562323c21bfb371e17ef9691f8e3

hppa architecture (HP PA RISC)

      Size/MD5 checksum:  1984570 b083e1afffe4a93dd79ae4b8a7dca474
      Size/MD5 checksum:  3679122 cb5aa4f840a12ee13094089323f0b4f9
      Size/MD5 checksum:   887774 9cc756ce52e5380650ea754c4104c6ca
      Size/MD5 checksum:  6204820 65d3c59dcb56277d838b776f0b2d5176

i386 architecture (Intel ia32)

      Size/MD5 checksum:  5989758 79d6a1ed26f230a5b092603346cd31e3
      Size/MD5 checksum:  1676014 5d7353787ab562d03bb967732cd7bf46
      Size/MD5 checksum:  3445750 4b7b6629d5ee48d8413bd2ee7289726c
      Size/MD5 checksum:   784320 f49d7ccf7cb106d200559169c4c013f2

ia64 architecture (Intel ia64)

      Size/MD5 checksum:  1176036 fbc3971fbbcc8a37b2feec8570a4fa34
      Size/MD5 checksum:  6966656 ca0fe43224b9f329afac2673379ad958
      Size/MD5 checksum:  4037758 3be3cf7835a7e69b3189025edcdca799
      Size/MD5 checksum:  2477104 a5cafad9926f58504c44f980d490d979

mips architecture (MIPS (Big Endian))

      Size/MD5 checksum:   819064 263a7a9496d171874461654ecc7db26f
      Size/MD5 checksum:  1907220 2175a2f625925e95be148d62f279c210
      Size/MD5 checksum:  3525088 a257c17981d12f9f0eb0a86fde85ca71
      Size/MD5 checksum:  6507214 8306549937264c9f1cf57288ae7e738b

mipsel architecture (MIPS (Little Endian))

      Size/MD5 checksum:  3456110 1a7675c9de9abd3671786d36d3ea263f
      Size/MD5 checksum:   817730 1a656308b4c158a6d0594f08132f8e16
      Size/MD5 checksum:  6336980 a01b93c916c6c658747effa637bbb58d
      Size/MD5 checksum:  1896534 b2b39e4d4e79b6afa13b24beccc5ab7c

powerpc architecture (PowerPC)

      Size/MD5 checksum:  3590820 f419e6c0b439e8391ce118a22f66179e
      Size/MD5 checksum:   843170 ae9e553f9c5e278f42bb6bc2bef215aa
      Size/MD5 checksum:  6648508 512e75472dcb919d7987472f7ea1c57c
      Size/MD5 checksum:  1809928 1f43ae54d0b5836abbbfc59083d60bb4

s390 architecture (IBM S/390)

      Size/MD5 checksum:   841474 9e0a8a5eaf9100fb03caa3ac77aa2d63
      Size/MD5 checksum:  1816794 a718f4d0c010ca9686068e0bbd8ec919
      Size/MD5 checksum:  6535426 4aa0738ecf30b99614440f134a2096fb
      Size/MD5 checksum:  3614770 6fdb0e38779312a7a66d57e373c38a38

sparc architecture (Sun SPARC/UltraSPARC)

      Size/MD5 checksum:  1759842 5897eefdb79bfeb3cc470959e04dcb7c
      Size/MD5 checksum:  5995652 13848fd47c5a9047172d246c12dee03e
      Size/MD5 checksum:  3493896 d327f5fc4dbd282db977eade02c9b7eb
      Size/MD5 checksum:   778284 bd2ad97592529526e7c08862baf28cdc


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp:  dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org

Debian: New python2.5 packages fix several vulnerabilities

July 27, 2008
Several vulnerabilities have been discovered in the interpreter for the Python language.

Summary


Piotr Engelking discovered that the strxfrm() function of the locale
module miscalculates the length of an internal buffer, which may
result in a minor information disclosure.

CVE-2007-4965

It was discovered that several integer overflows in the imageop
module may lead to the execution of arbitrary code, if a user is
tricked into processing malformed images. This issue is also
tracked as CVE-2008-1679 due to an initially incomplete patch.

CVE-2008-1721

Justin Ferguson discovered that a buffer overflow in the zlib
module may lead to the execution of arbitrary code.

CVE-2008-1887

Justin Ferguson discovered that insufficient input validation in
PyString_FromStringAndSize() may lead to the execution of arbitrary
code.

For the stable distribution (etch), these problems have been fixed in
version 2.5-5+etch1.

For the unstable distribution (sid), these problems have been fixed in
version 2.5.2-3.

We recommend that you upgrade your python2.5 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 4.0 alias etch

Source archives:

Size/MD5 checksum: 1304 1849941ac328ba0bccc45535c5878d4d
Size/MD5 checksum: 11010528 2ce301134620012ad6dafb27bbcab7eb
Size/MD5 checksum: 266589 dfbdc5caf7a95e68f68e0351228284d4

Architecture independent packages:

Size/MD5 checksum: 643494 f922c5e48339e5b535a1f23f6e061700
Size/MD5 checksum: 63258 4add97730079e7894abbbca4ba5659d4

alpha architecture (DEC Alpha)

Size/MD5 checksum: 849132 28c76f70110314eab90c8ea31d0da51e
Size/MD5 checksum: 2065734 270d593f08cdd06cbe55bdb804a5dc43
Size/MD5 checksum: 3596900 64d12cc349030683dc125901dff56feb
Size/MD5 checksum: 6079808 4105398688a96f54fb7e043a3bd536d7

amd64 architecture (AMD x86_64 (AMD64))

Size/MD5 checksum: 6432058 b7e802bf4a19edfaddc28ebc06bed279
Size/MD5 checksum: 3589530 9bbd2cea36b04746fa5437d984147f99
Size/MD5 checksum: 1806598 98bfee87311a8950462a9ab78c7d5719
Size/MD5 checksum: 849650 a95eeb3b45a0a3f74e314084d581fbd6

arm architecture (ARM)

Size/MD5 checksum: 1656006 8e8d3d3b991f317384fc1646139712d4
Size/MD5 checksum: 781358 fbb5adac7469048405b2585475393475
Size/MD5 checksum: 3447404 4a10cad96ef0aefc9ba916a39677b826
Size/MD5 checksum: 6017500 f727562323c21bfb371e17ef9691f8e3

hppa architecture (HP PA RISC)

Size/MD5 checksum: 1984570 b083e1afffe4a93dd79ae4b8a7dca474
Size/MD5 checksum: 3679122 cb5aa4f840a12ee13094089323f0b4f9
Size/MD5 checksum: 887774 9cc756ce52e5380650ea754c4104c6ca
Size/MD5 checksum: 6204820 65d3c59dcb56277d838b776f0b2d5176

i386 architecture (Intel ia32)

Size/MD5 checksum: 5989758 79d6a1ed26f230a5b092603346cd31e3
Size/MD5 checksum: 1676014 5d7353787ab562d03bb967732cd7bf46
Size/MD5 checksum: 3445750 4b7b6629d5ee48d8413bd2ee7289726c
Size/MD5 checksum: 784320 f49d7ccf7cb106d200559169c4c013f2

ia64 architecture (Intel ia64)

Size/MD5 checksum: 1176036 fbc3971fbbcc8a37b2feec8570a4fa34
Size/MD5 checksum: 6966656 ca0fe43224b9f329afac2673379ad958
Size/MD5 checksum: 4037758 3be3cf7835a7e69b3189025edcdca799
Size/MD5 checksum: 2477104 a5cafad9926f58504c44f980d490d979

mips architecture (MIPS (Big Endian))

Size/MD5 checksum: 819064 263a7a9496d171874461654ecc7db26f
Size/MD5 checksum: 1907220 2175a2f625925e95be148d62f279c210
Size/MD5 checksum: 3525088 a257c17981d12f9f0eb0a86fde85ca71
Size/MD5 checksum: 6507214 8306549937264c9f1cf57288ae7e738b

mipsel architecture (MIPS (Little Endian))

Size/MD5 checksum: 3456110 1a7675c9de9abd3671786d36d3ea263f
Size/MD5 checksum: 817730 1a656308b4c158a6d0594f08132f8e16
Size/MD5 checksum: 6336980 a01b93c916c6c658747effa637bbb58d
Size/MD5 checksum: 1896534 b2b39e4d4e79b6afa13b24beccc5ab7c

powerpc architecture (PowerPC)

Size/MD5 checksum: 3590820 f419e6c0b439e8391ce118a22f66179e
Size/MD5 checksum: 843170 ae9e553f9c5e278f42bb6bc2bef215aa
Size/MD5 checksum: 6648508 512e75472dcb919d7987472f7ea1c57c
Size/MD5 checksum: 1809928 1f43ae54d0b5836abbbfc59083d60bb4

s390 architecture (IBM S/390)

Size/MD5 checksum: 841474 9e0a8a5eaf9100fb03caa3ac77aa2d63
Size/MD5 checksum: 1816794 a718f4d0c010ca9686068e0bbd8ec919
Size/MD5 checksum: 6535426 4aa0738ecf30b99614440f134a2096fb
Size/MD5 checksum: 3614770 6fdb0e38779312a7a66d57e373c38a38

sparc architecture (Sun SPARC/UltraSPARC)

Size/MD5 checksum: 1759842 5897eefdb79bfeb3cc470959e04dcb7c
Size/MD5 checksum: 5995652 13848fd47c5a9047172d246c12dee03e
Size/MD5 checksum: 3493896 d327f5fc4dbd282db977eade02c9b7eb
Size/MD5 checksum: 778284 bd2ad97592529526e7c08862baf28cdc


These files will probably be moved into the stable distribution on
its next update.

For dpkg-ftp: dists/stable/updates/main


Severity

Related News