Debian: New nginx packages fix arbitrary code execution
Posted by Benjamin D. Thomas   
Debian
- --------------------------------------------------------------------------
Debian Security Advisory DSA-1884-1                    security@debian.org
http://www.debian.org/security/                                 Nico Golde
September 14th, 2009                    http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : nginx
Vulnerability  : buffer underflow
Problem type   : remote
Debian-specific: no
CVE ID         : CVE-2009-2629

Chris Ries discovered that nginx, a high-performance HTTP server, reverse
proxy and IMAP/POP3 proxy server, is vulnerable to a buffer underflow when
processing certain HTTP requests.  An attacker can use this to execute
arbitrary code with the rights of the worker process (www-data on Debian)
or possibly perform denial of service attacks by repeatedly crashing
worker processes via a specially crafted URL in an HTTP request.


For the oldstable distribution (etch), this problem has been fixed in
version 0.4.13-2+etch2.

For the stable distribution (lenny), this problem has been fixed in
version 0.6.32-3+lenny2.

For the testing distribution (squeeze), this problem will be fixed soon.

For the unstable distribution (sid), this problem has been fixed in
version 0.7.61-3.


We recommend that you upgrade your nginx 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
- -------------------------------

Debian (oldstable)
- ------------------

Oldstable updates are available for alpha, amd64, arm, hppa, i386, ia64, mips, mipsel, powerpc, s390 and sparc.

Source archives:

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13.orig.tar.gz
    Size/MD5 checksum:   436610 d385a1e7a23020d421531818d5606b5b
  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2.diff.gz
    Size/MD5 checksum:     6578 db07ea3610574b7561cbedef09a51bf2
  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2.dsc
    Size/MD5 checksum:      618 12706d3c92e0c225dd47367aae43115e

alpha architecture (DEC Alpha)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_alpha.deb
    Size/MD5 checksum:   211310 5e7efe11eca1aea2f6611cd913bf519d

amd64 architecture (AMD x86_64 (AMD64))

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_amd64.deb
    Size/MD5 checksum:   195352 3fc58e180fca1465a360f37bad3da7db

arm architecture (ARM)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_arm.deb
    Size/MD5 checksum:   187144 6e49d62ee4efa11f9b75292bcb3be1d7

hppa architecture (HP PA RISC)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_hppa.deb
    Size/MD5 checksum:   205204 7f8f76147eccbf489c900831782806c0

i386 architecture (Intel ia32)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_i386.deb
    Size/MD5 checksum:   184912 7dc5e3672666d1b5666f6ce79f4c755b

ia64 architecture (Intel ia64)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_ia64.deb
    Size/MD5 checksum:   278490 669e8d9e43a123367c429ca34927e22a

mips architecture (MIPS (Big Endian))

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_mips.deb
    Size/MD5 checksum:   208238 2e6f25c4bc053d1bb1ac82bec398624d

mipsel architecture (MIPS (Little Endian))

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_mipsel.deb
    Size/MD5 checksum:   207640 e6b0e0e8148d1786274cf9a4b7f9d060

powerpc architecture (PowerPC)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_powerpc.deb
    Size/MD5 checksum:   186542 5b1460ab8707b1ccb3cf0b75c8ea2548

s390 architecture (IBM S/390)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_s390.deb
    Size/MD5 checksum:   199720 8ecde48c393df02819c45bc966f73eae

sparc architecture (Sun SPARC/UltraSPARC)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.4.13-2+etch2_sparc.deb
    Size/MD5 checksum:   185032 15212749985501b223af7888447fc433


Debian GNU/Linux 5.0 alias lenny
- --------------------------------

Debian (stable)
- ---------------

Stable updates are available for alpha, amd64, arm, armel, hppa, i386, ia64, mips, mipsel, powerpc, s390 and sparc.

Source archives:

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2.dsc
    Size/MD5 checksum:     1238 41197ff9eca3cb3707ca5eff5e431183
  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2.diff.gz
    Size/MD5 checksum:    10720 b2c8f555b7de4ac17b2c98247fd2ae6b
  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32.orig.tar.gz
    Size/MD5 checksum:   522183 c09a2ace3c91f45dabbb608b11e48ed1

alpha architecture (DEC Alpha)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_alpha.deb
    Size/MD5 checksum:   297782 dc05cbf94712134298acdedad2a4e85d

amd64 architecture (AMD x86_64 (AMD64))

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_amd64.deb
    Size/MD5 checksum:   268518 58dc10022dd7b20ff58a4b839be62a43

arm architecture (ARM)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_arm.deb
    Size/MD5 checksum:   251688 7f5a9499de8ba40ae2caea7de183b966

hppa architecture (HP PA RISC)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_hppa.deb
    Size/MD5 checksum:   282324 f0264b98d0564f51692292c0ec269a19

i386 architecture (Intel ia32)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_i386.deb
    Size/MD5 checksum:   253060 a64340fa3a9a5b58e23267f13abfeeed

ia64 architecture (Intel ia64)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_ia64.deb
    Size/MD5 checksum:   420004 a2e6de141194e41a60893b0b2c457f28

mips architecture (MIPS (Big Endian))

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_mips.deb
    Size/MD5 checksum:   283220 04407318230621467ea3a42bfb11d724

mipsel architecture (MIPS (Little Endian))

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_mipsel.deb
    Size/MD5 checksum:   283444 0bd0eb1e415d7d6877a95e21ddb91fa7

powerpc architecture (PowerPC)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_powerpc.deb
    Size/MD5 checksum:   276056 fae6451ab5ac767f93d3229a9e01f3bf

sparc architecture (Sun SPARC/UltraSPARC)

  http://security.debian.org/pool/updates/main/n/nginx/nginx_0.6.32-3+lenny2_sparc.deb
    Size/MD5 checksum:   256778 df6a47fe174736468910a4166fe0a064


  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: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org