-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

OpenPKG Security Advisory                            The OpenPKG Project
http://www.openpkg.org/security.html              http://www.openpkg.org
[EMAIL PROTECTED]                         [EMAIL PROTECTED]
OpenPKG-SA-2003.005                                          22-Jan-2003
________________________________________________________________________

Package:             php, apache
Vulnerability:       buffer overflow in "wordwrap" function
OpenPKG Specific:    no

Affected Releases:   Affected Packages:          Corrected Packages:
OpenPKG CURRENT      <= php-4.2.3-20020907       >= php-4.3.0-20021228
                     <= apache-1.3.27-20021129   >= apache-1.3.27-20021228
OpenPKG 1.2          none                        N.A.
OpenPKG 1.1          <= php-4.2.2-1.1.0          >= php-4.2.2-1.1.1
                     <= apache-1.3.26-1.1.2      >= apache-1.3.26-1.1.3
OpenPKG 1.0          none                        N.A.

Description:
  According to a bug report [0] from David F. Skoll a buffer overflow
  problem exists in the "wordwrap" function of Personal HomePage (PHP)
  [1], a HTML-embedded scripting language. Thanks to Davids input and
  help, the source of the problem was tracked down and corrected by
  the vendor. The Common Vulnerabilities and Exposures (CVE) project
  assigned the id CAN-2002-1396 [2] to the problem.

  Please check whether you are affected by running "<prefix>/bin/rpm
  -q php". If you have the "php" package installed and its version is
  affected (see above), we recommend that you immediately upgrade it
  (see Solution). [3][4]

  Also run "<prefix>/bin/rpm -qi apache". If you have the "apache"
  package installed having the "with_mod_php" option set to "yes" and
  its version is affected (see above), we recommend that you immediately
  upgrade it (see Solution). [3][4]

Solution:
  Select the updated source RPM appropriate for your OpenPKG release
  [5][6], fetch it from the OpenPKG FTP service [7] or a mirror
  location, verify its integrity [8], build a corresponding binary RPM
  from it [3] and update your OpenPKG installation by applying the binary
  RPM [4]. For the release OpenPKG 1.1, perform the following
  operations to permanently fix the security problem (for other releases
  adjust accordingly).

  $ ftp ftp.openpkg.org
  ftp> bin
  ftp> cd release/1.1/UPD
  ftp> get php-4.2.2-1.1.1.src.rpm
  ftp> get apache-1.3.26-1.1.3.src.rpm
  ftp> bye
  $ <prefix>/bin/rpm -v --checksig php-4.2.2-1.1.1.src.rpm
  $ <prefix>/bin/rpm -v --checksig apache-1.3.26-1.1.3.src.rpm
  $ <prefix>/bin/rpm --rebuild php-4.2.2-1.1.1.src.rpm
  $ <prefix>/bin/rpm --rebuild apache-1.3.26-1.1.3.src.rpm
  $ su -
  # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/php-4.2.2-1.1.1.*.rpm
  # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/apache-1.3.26-1.1.3.*.rpm
________________________________________________________________________

References:
  [0] http://bugs.php.net/bug.php?id=20927
  [1] http://www.php.net/
  [2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1396
  [3] http://www.openpkg.org/tutorial.html#regular-source
  [4] http://www.openpkg.org/tutorial.html#regular-binary
  [5] ftp://ftp.openpkg.org/release/1.1/UPD/php-4.2.2-1.1.1.src.rpm
  [6] ftp://ftp.openpkg.org/release/1.1/UPD/apache-1.3.26-1.1.3.src.rpm
  [7] ftp://ftp.openpkg.org/release/1.1/UPD/
  [8] http://www.openpkg.org/security.html#signature
________________________________________________________________________

For security reasons, this advisory was digitally signed with
the OpenPGP public key "OpenPKG <[EMAIL PROTECTED]>" (ID 63C4CB9F)
of the OpenPKG project which you can find under the official URL
http://www.openpkg.org/openpkg.pgp or on http://keyserver.pgp.com/. To
check the integrity of this advisory, verify its digital signature by
using GnuPG (http://www.gnupg.org/). For instance, pipe this message to
the command "gpg --verify --keyserver keyserver.pgp.com".
________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Comment: OpenPKG <[EMAIL PROTECTED]>

iD8DBQE+Lp0igHWT4GPEy58RArl+AJ9/w1U0RwTAHxUooOo/OUpCx9yJagCg8KlV
yRQ54kIUxzdQn/bmmfpHZMo=
=9ZrR
-----END PGP SIGNATURE-----
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Project Announcement List                 [EMAIL PROTECTED]

Reply via email to