Red Hat 8866 Published by

Updated Apache packages are available for Red Hat Enterprise Linux 3

----------------------------------------------------------------------
Red Hat Security Advisory

Synopsis: Updated httpd packages fix security issues
Advisory ID: RHSA-2004:342-01
Issue date: 2004-07-06
Updated on: 2004-07-06
Product: Red Hat Enterprise Linux
Keywords: httpd mod_ssl FakeBasicAuth
Cross references:
Obsoletes:
CVE Names: CAN-2004-0488 CAN-2004-0493
----------------------------------------------------------------------

1. Topic:

Updated httpd packages that fix a buffer overflow in mod_ssl and a remotely triggerable memory leak are now available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64



3. Problem description:

The Apache HTTP server is a powerful, full-featured, efficient, and freely-available Web server.

A stack buffer overflow was discovered in mod_ssl that could be triggered if using the FakeBasicAuth option. If mod_ssl was sent a client certificate with a subject DN field longer than 6000 characters, a stack overflow occured if FakeBasicAuth had been enabled. In order to exploit this issue the carefully crafted malicious certificate would have had to be signed by a Certificate Authority which mod_ssl is configured to trust. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0488 to this issue.

A remotely triggered memory leak in the Apache HTTP Server earlier than version 2.0.50 was also discovered. This allowed a remote attacker to perform a denial of service attack against the server by forcing it to consume large amounts of memory. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0493 to this issue.

Users of the Apache HTTP server should upgrade to these updated packages, which contain backported patches that address these issues.

4. Solution:

Before applying this update, make sure all previously released errata relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs.

Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

125046 - CAN-2004-0488 mod_ssl ssl_util_uuencode_binary() stack overflow 126863 - CAN-2004-0493 folding header DoS

6. RPMs required:

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/httpd-2.0.46-32.ent.3.src.rpm

i386:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.i386.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.i386.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.i386.rpm

ia64:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.ia64.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.ia64.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.ia64.rpm

ppc:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.ppc.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.ppc.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.ppc.rpm

s390:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.s390.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.s390.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.s390.rpm

s390x:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.s390x.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.s390x.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.s390x.rpm

x86_64:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.x86_64.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.x86_64.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/httpd-2.0.46-32.ent.3.src.rpm

i386:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.i386.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.i386.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.i386.rpm

x86_64:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.x86_64.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.x86_64.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/httpd-2.0.46-32.ent.3.src.rpm

i386:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.i386.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.i386.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.i386.rpm

ia64:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.ia64.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.ia64.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.ia64.rpm

x86_64:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.x86_64.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.x86_64.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/httpd-2.0.46-32.ent.3.src.rpm

i386:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.i386.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.i386.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.i386.rpm

ia64:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.ia64.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.ia64.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.ia64.rpm

x86_64:
Available from Red Hat Network: httpd-2.0.46-32.ent.3.x86_64.rpm
Available from Red Hat Network: httpd-devel-2.0.46-32.ent.3.x86_64.rpm
Available from Red Hat Network: mod_ssl-2.0.46-32.ent.3.x86_64.rpm



7. Verification:

MD5 sum Package Name
- --------------------------------------------------------------------------
29338e32951ab8ce4e9ce06826003507 httpd-2.0.46-32.ent.3.i386.rpm
0b3dd40dabd7e38def09a8761d68a4df httpd-2.0.46-32.ent.3.ia64.rpm
9b378b668b8a8deb2347b3b2d507e270 httpd-2.0.46-32.ent.3.ppc.rpm
4d95f00265fee65ae370d3b8556e5eda httpd-2.0.46-32.ent.3.s390.rpm
42f88dbf258c451e1606c6356cc42c81 httpd-2.0.46-32.ent.3.s390x.rpm
a67543c476a2ca34fe9f6193baf51c76 httpd-2.0.46-32.ent.3.src.rpm
3a9b872bf1b4907c54ba7d93b01bc72a httpd-2.0.46-32.ent.3.x86_64.rpm
e5a83a57c0f9bbbe4723704d021629d9 httpd-devel-2.0.46-32.ent.3.i386.rpm
67ff11c431f212450df4cd3af2b0581d httpd-devel-2.0.46-32.ent.3.ia64.rpm
74352e4c4263c8e1d1944e697ea9468d httpd-devel-2.0.46-32.ent.3.ppc.rpm
3d1eb3c8eb0d92ac4c465b13cf15a827 httpd-devel-2.0.46-32.ent.3.s390.rpm
6ab3696a1671fb7ad1fc3fbdf6276dd2 httpd-devel-2.0.46-32.ent.3.s390x.rpm
3d93c0cb7485f4127b69023f3e02db6e httpd-devel-2.0.46-32.ent.3.x86_64.rpm
4d0730df819d2e2bb01fea85ec235e1e mod_ssl-2.0.46-32.ent.3.i386.rpm
da377f6f276f5b114d6329737fd9bdcf mod_ssl-2.0.46-32.ent.3.ia64.rpm
8a859d9b354c9666026db568f46d7922 mod_ssl-2.0.46-32.ent.3.ppc.rpm
1ef825f5e925599331247c7f3c8933be mod_ssl-2.0.46-32.ent.3.s390.rpm
41c70efaebf8a5a3ee10968b70568429 mod_ssl-2.0.46-32.ent.3.s390x.rpm
89cce607528d062cc31eabb830224d54 mod_ssl-2.0.46-32.ent.3.x86_64.rpm


These packages are GPG signed by Red Hat for security. Our key is available from https://www.redhat.com/security/team/key.html

You can verify each package with the following command:

rpm --checksig -v filename

If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command:

md5sum filename


8. References:

http://www.apacheweek.com/features/security-20
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0488
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0493

9. Contact:

The Red Hat security contact is secalert@redhat.com. More contact details at https://www.redhat.com/security/team/contact.html

Copyright 2004 Red Hat, Inc.