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

Synopsis:          Updated php packages fix security issues
Advisory ID:       RHSA-2005:031-01
Advisory URL:      https://access.redhat.com/errata/RHSA-2005:031.html
Issue date:        2005-01-19
Updated on:        2005-01-19
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-1018  CAN-2004-1019
- ---------------------------------------------------------------------1. Summary:

Updated php packages that fix various security issues are now
available for Red Hat Enterprise Linux 2.1.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386

3. Problem description:

PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Web server.

A double-free bug was found in the deserialization code of PHP. PHP
applications use the unserialize function on untrusted user data, which
could allow a remote attacker to gain access to memory or potentially
execute arbitrary code.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-1019 to this issue.

Flaws were found in the pack and unpack PHP functions. These functions
do not normally pass user supplied data, so they would require a malicious
PHP script to be exploited. The Common Vulnerabilities and Exposures
project (cve.mitre.org) has assigned the name CAN-2004-1018 to this issue.

A bug was discovered in the initialization of the OpenSSL library, such
that the curl extension could not be used to perform HTTP requests over SSL
unless the php-imap package was installed.

Users of PHP should upgrade to these updated packages, which contain fixes
for these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/

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

138904 - PHP cURL getting a 'SSL Couldn't create a context error'.
144773 - CAN-2004-1019 information disclosure issues

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
c138d06b06b24f913451b0b1014936db  php-4.1.2-2.2.src.rpm

i386:
747527fa5af2927a2e60f03a51155b33  php-4.1.2-2.2.i386.rpm
34123715e6bb68ee25aa341a22210aac  php-devel-4.1.2-2.2.i386.rpm
c8324b01a0f912f23509256876a6bd48  php-imap-4.1.2-2.2.i386.rpm
fa0c258503adbaa3da27ce315f2d8491  php-ldap-4.1.2-2.2.i386.rpm
b81212e8cdf6a2fd5d8b144993ce70ce  php-manual-4.1.2-2.2.i386.rpm
8d0e23028c8ff9ae95a21f18a4afae4d  php-mysql-4.1.2-2.2.i386.rpm
c62eb1c9b7d19df3b59c407aadd6f036  php-odbc-4.1.2-2.2.i386.rpm
8304761b31fc02bff2d653ef6a090544  php-pgsql-4.1.2-2.2.i386.rpm

ia64:
cad220354a3a740fcb3839c3142dbecd  php-4.1.2-2.2.ia64.rpm
13dc6469275f280ce64517896a6aeef0  php-devel-4.1.2-2.2.ia64.rpm
29878d0334434bab6eef75852dace0ec  php-imap-4.1.2-2.2.ia64.rpm
c0bbd8c59e4c6014686b427dc86e0315  php-ldap-4.1.2-2.2.ia64.rpm
44fa0088c8faa8f548e57f5fb9aafacf  php-manual-4.1.2-2.2.ia64.rpm
729473b0a5a4a881f3d59a4f5f336989  php-mysql-4.1.2-2.2.ia64.rpm
2d5d684aef3f82b15ee31edbd92002a2  php-odbc-4.1.2-2.2.ia64.rpm
4e1997eef1f1aefe14bc6a1605d58a18  php-pgsql-4.1.2-2.2.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
c138d06b06b24f913451b0b1014936db  php-4.1.2-2.2.src.rpm

ia64:
cad220354a3a740fcb3839c3142dbecd  php-4.1.2-2.2.ia64.rpm
13dc6469275f280ce64517896a6aeef0  php-devel-4.1.2-2.2.ia64.rpm
29878d0334434bab6eef75852dace0ec  php-imap-4.1.2-2.2.ia64.rpm
c0bbd8c59e4c6014686b427dc86e0315  php-ldap-4.1.2-2.2.ia64.rpm
44fa0088c8faa8f548e57f5fb9aafacf  php-manual-4.1.2-2.2.ia64.rpm
729473b0a5a4a881f3d59a4f5f336989  php-mysql-4.1.2-2.2.ia64.rpm
2d5d684aef3f82b15ee31edbd92002a2  php-odbc-4.1.2-2.2.ia64.rpm
4e1997eef1f1aefe14bc6a1605d58a18  php-pgsql-4.1.2-2.2.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
c138d06b06b24f913451b0b1014936db  php-4.1.2-2.2.src.rpm

i386:
747527fa5af2927a2e60f03a51155b33  php-4.1.2-2.2.i386.rpm
34123715e6bb68ee25aa341a22210aac  php-devel-4.1.2-2.2.i386.rpm
c8324b01a0f912f23509256876a6bd48  php-imap-4.1.2-2.2.i386.rpm
fa0c258503adbaa3da27ce315f2d8491  php-ldap-4.1.2-2.2.i386.rpm
b81212e8cdf6a2fd5d8b144993ce70ce  php-manual-4.1.2-2.2.i386.rpm
8d0e23028c8ff9ae95a21f18a4afae4d  php-mysql-4.1.2-2.2.i386.rpm
c62eb1c9b7d19df3b59c407aadd6f036  php-odbc-4.1.2-2.2.i386.rpm
8304761b31fc02bff2d653ef6a090544  php-pgsql-4.1.2-2.2.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
c138d06b06b24f913451b0b1014936db  php-4.1.2-2.2.src.rpm

i386:
747527fa5af2927a2e60f03a51155b33  php-4.1.2-2.2.i386.rpm
34123715e6bb68ee25aa341a22210aac  php-devel-4.1.2-2.2.i386.rpm
c8324b01a0f912f23509256876a6bd48  php-imap-4.1.2-2.2.i386.rpm
fa0c258503adbaa3da27ce315f2d8491  php-ldap-4.1.2-2.2.i386.rpm
b81212e8cdf6a2fd5d8b144993ce70ce  php-manual-4.1.2-2.2.i386.rpm
8d0e23028c8ff9ae95a21f18a4afae4d  php-mysql-4.1.2-2.2.i386.rpm
c62eb1c9b7d19df3b59c407aadd6f036  php-odbc-4.1.2-2.2.i386.rpm
8304761b31fc02bff2d653ef6a090544  php-pgsql-4.1.2-2.2.i386.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018
http://cve.mitre.org/cgi-bin/cvename.cgi?namehttp://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019

8. Contact:

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

Copyright 2005 Red Hat, Inc.

RedHat: Updated php packages fix security issues

Updated php packages that fix various security issues are now available for Red Hat Enterprise Linux 2.1.

Summary



Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Web server. A double-free bug was found in the deserialization code of PHP. PHP applications use the unserialize function on untrusted user data, which could allow a remote attacker to gain access to memory or potentially execute arbitrary code. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-1019 to this issue. Flaws were found in the pack and unpack PHP functions. These functions do not normally pass user supplied data, so they would require a malicious PHP script to be exploited. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-1018 to this issue. A bug was discovered in the initialization of the OpenSSL library, such that the curl extension could not be used to perform HTTP requests over SSL unless the php-imap package was installed. Users of PHP should upgrade to these updated packages, which contain fixes for these issues.


Solution

Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command:
up2date
For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system:
http://www.redhat.com/docs/manuals/enterprise/
5. Bug IDs fixed (http://bugzilla.redhat.com/):
138904 - PHP cURL getting a 'SSL Couldn't create a context error'. 144773 - CAN-2004-1019 information disclosure issues
6. RPMs required:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1:
SRPMS: c138d06b06b24f913451b0b1014936db php-4.1.2-2.2.src.rpm
i386: 747527fa5af2927a2e60f03a51155b33 php-4.1.2-2.2.i386.rpm 34123715e6bb68ee25aa341a22210aac php-devel-4.1.2-2.2.i386.rpm c8324b01a0f912f23509256876a6bd48 php-imap-4.1.2-2.2.i386.rpm fa0c258503adbaa3da27ce315f2d8491 php-ldap-4.1.2-2.2.i386.rpm b81212e8cdf6a2fd5d8b144993ce70ce php-manual-4.1.2-2.2.i386.rpm 8d0e23028c8ff9ae95a21f18a4afae4d php-mysql-4.1.2-2.2.i386.rpm c62eb1c9b7d19df3b59c407aadd6f036 php-odbc-4.1.2-2.2.i386.rpm 8304761b31fc02bff2d653ef6a090544 php-pgsql-4.1.2-2.2.i386.rpm
ia64: cad220354a3a740fcb3839c3142dbecd php-4.1.2-2.2.ia64.rpm 13dc6469275f280ce64517896a6aeef0 php-devel-4.1.2-2.2.ia64.rpm 29878d0334434bab6eef75852dace0ec php-imap-4.1.2-2.2.ia64.rpm c0bbd8c59e4c6014686b427dc86e0315 php-ldap-4.1.2-2.2.ia64.rpm 44fa0088c8faa8f548e57f5fb9aafacf php-manual-4.1.2-2.2.ia64.rpm 729473b0a5a4a881f3d59a4f5f336989 php-mysql-4.1.2-2.2.ia64.rpm 2d5d684aef3f82b15ee31edbd92002a2 php-odbc-4.1.2-2.2.ia64.rpm 4e1997eef1f1aefe14bc6a1605d58a18 php-pgsql-4.1.2-2.2.ia64.rpm
Red Hat Linux Advanced Workstation 2.1:
SRPMS: c138d06b06b24f913451b0b1014936db php-4.1.2-2.2.src.rpm
ia64: cad220354a3a740fcb3839c3142dbecd php-4.1.2-2.2.ia64.rpm 13dc6469275f280ce64517896a6aeef0 php-devel-4.1.2-2.2.ia64.rpm 29878d0334434bab6eef75852dace0ec php-imap-4.1.2-2.2.ia64.rpm c0bbd8c59e4c6014686b427dc86e0315 php-ldap-4.1.2-2.2.ia64.rpm 44fa0088c8faa8f548e57f5fb9aafacf php-manual-4.1.2-2.2.ia64.rpm 729473b0a5a4a881f3d59a4f5f336989 php-mysql-4.1.2-2.2.ia64.rpm 2d5d684aef3f82b15ee31edbd92002a2 php-odbc-4.1.2-2.2.ia64.rpm 4e1997eef1f1aefe14bc6a1605d58a18 php-pgsql-4.1.2-2.2.ia64.rpm
Red Hat Enterprise Linux ES version 2.1:
SRPMS: c138d06b06b24f913451b0b1014936db php-4.1.2-2.2.src.rpm
i386: 747527fa5af2927a2e60f03a51155b33 php-4.1.2-2.2.i386.rpm 34123715e6bb68ee25aa341a22210aac php-devel-4.1.2-2.2.i386.rpm c8324b01a0f912f23509256876a6bd48 php-imap-4.1.2-2.2.i386.rpm fa0c258503adbaa3da27ce315f2d8491 php-ldap-4.1.2-2.2.i386.rpm b81212e8cdf6a2fd5d8b144993ce70ce php-manual-4.1.2-2.2.i386.rpm 8d0e23028c8ff9ae95a21f18a4afae4d php-mysql-4.1.2-2.2.i386.rpm c62eb1c9b7d19df3b59c407aadd6f036 php-odbc-4.1.2-2.2.i386.rpm 8304761b31fc02bff2d653ef6a090544 php-pgsql-4.1.2-2.2.i386.rpm
Red Hat Enterprise Linux WS version 2.1:
SRPMS: c138d06b06b24f913451b0b1014936db php-4.1.2-2.2.src.rpm
i386: 747527fa5af2927a2e60f03a51155b33 php-4.1.2-2.2.i386.rpm 34123715e6bb68ee25aa341a22210aac php-devel-4.1.2-2.2.i386.rpm c8324b01a0f912f23509256876a6bd48 php-imap-4.1.2-2.2.i386.rpm fa0c258503adbaa3da27ce315f2d8491 php-ldap-4.1.2-2.2.i386.rpm b81212e8cdf6a2fd5d8b144993ce70ce php-manual-4.1.2-2.2.i386.rpm 8d0e23028c8ff9ae95a21f18a4afae4d php-mysql-4.1.2-2.2.i386.rpm c62eb1c9b7d19df3b59c407aadd6f036 php-odbc-4.1.2-2.2.i386.rpm 8304761b31fc02bff2d653ef6a090544 php-pgsql-4.1.2-2.2.i386.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://www.redhat.com/security/team/key/#package

References

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018 http://cve.mitre.org/cgi-bin/cvename.cgi?namehttp://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019

Package List


Severity
Advisory ID: RHSA-2005:031-01
Advisory URL: https://access.redhat.com/errata/RHSA-2005:031.html
Issued Date: : 2005-01-19
Updated on: 2005-01-19
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-1018 CAN-2004-1019 Updated php packages that fix various security issues are now available for Red Hat Enterprise Linux 2.1.

Topic


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64

Red Hat Linux Advanced Workstation 2.1 - ia64

Red Hat Enterprise Linux ES version 2.1 - i386

Red Hat Enterprise Linux WS version 2.1 - i386


Bugs Fixed


Related News