Security Advisory php security update

Advisory: RHSA-2005:031-08
Type: Security Advisory
Severity: Important
Issued on: 2005-01-19
Last updated on: 2005-01-19
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
OVAL: N/A
CVEs (cve.mitre.org): CVE-2004-1018
CVE-2004-1019

Details

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

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/

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
php-4.1.2-2.2.src.rpm     c138d06b06b24f913451b0b1014936db
 
IA-32:
php-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    747527fa5af2927a2e60f03a51155b33
php-devel-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    34123715e6bb68ee25aa341a22210aac
php-imap-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    c8324b01a0f912f23509256876a6bd48
php-ldap-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    fa0c258503adbaa3da27ce315f2d8491
php-manual-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    b81212e8cdf6a2fd5d8b144993ce70ce
php-mysql-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    8d0e23028c8ff9ae95a21f18a4afae4d
php-odbc-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    c62eb1c9b7d19df3b59c407aadd6f036
php-pgsql-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    8304761b31fc02bff2d653ef6a090544
 
IA-64:
php-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    cad220354a3a740fcb3839c3142dbecd
php-devel-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    13dc6469275f280ce64517896a6aeef0
php-imap-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    29878d0334434bab6eef75852dace0ec
php-ldap-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    c0bbd8c59e4c6014686b427dc86e0315
php-manual-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    44fa0088c8faa8f548e57f5fb9aafacf
php-mysql-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    729473b0a5a4a881f3d59a4f5f336989
php-odbc-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    2d5d684aef3f82b15ee31edbd92002a2
php-pgsql-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    4e1997eef1f1aefe14bc6a1605d58a18
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
php-4.1.2-2.2.src.rpm     c138d06b06b24f913451b0b1014936db
 
IA-32:
php-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    747527fa5af2927a2e60f03a51155b33
php-devel-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    34123715e6bb68ee25aa341a22210aac
php-imap-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    c8324b01a0f912f23509256876a6bd48
php-ldap-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    fa0c258503adbaa3da27ce315f2d8491
php-manual-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    b81212e8cdf6a2fd5d8b144993ce70ce
php-mysql-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    8d0e23028c8ff9ae95a21f18a4afae4d
php-odbc-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    c62eb1c9b7d19df3b59c407aadd6f036
php-pgsql-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    8304761b31fc02bff2d653ef6a090544
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
php-4.1.2-2.2.src.rpm     c138d06b06b24f913451b0b1014936db
 
IA-32:
php-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    747527fa5af2927a2e60f03a51155b33
php-devel-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    34123715e6bb68ee25aa341a22210aac
php-imap-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    c8324b01a0f912f23509256876a6bd48
php-ldap-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    fa0c258503adbaa3da27ce315f2d8491
php-manual-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    b81212e8cdf6a2fd5d8b144993ce70ce
php-mysql-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    8d0e23028c8ff9ae95a21f18a4afae4d
php-odbc-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    c62eb1c9b7d19df3b59c407aadd6f036
php-pgsql-4.1.2-2.2.i386.rpm
File outdated by:  RHSA-2008:0546
    8304761b31fc02bff2d653ef6a090544
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
php-4.1.2-2.2.src.rpm     c138d06b06b24f913451b0b1014936db
 
IA-64:
php-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    cad220354a3a740fcb3839c3142dbecd
php-devel-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    13dc6469275f280ce64517896a6aeef0
php-imap-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    29878d0334434bab6eef75852dace0ec
php-ldap-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    c0bbd8c59e4c6014686b427dc86e0315
php-manual-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    44fa0088c8faa8f548e57f5fb9aafacf
php-mysql-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    729473b0a5a4a881f3d59a4f5f336989
php-odbc-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    2d5d684aef3f82b15ee31edbd92002a2
php-pgsql-4.1.2-2.2.ia64.rpm
File outdated by:  RHSA-2008:0546
    4e1997eef1f1aefe14bc6a1605d58a18
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

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


References



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

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