OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-web Date: 15-Sep-2003 15:27:24 Branch: HEAD Handle: 2003091514272300 Added files: openpkg-web/security OpenPKG-SA-2003.039-perl.txt Modified files: openpkg-web security.txt security.wml Log: SA-2003.039-perl; CAN-2003-0615 Summary: Revision Changes Path 1.45 +1 -0 openpkg-web/security.txt 1.63 +1 -0 openpkg-web/security.wml 1.1 +90 -0 openpkg-web/security/OpenPKG-SA-2003.039-perl.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-web/security.txt ============================================================================ $ cvs diff -u -r1.44 -r1.45 security.txt --- openpkg-web/security.txt 15 Sep 2003 11:33:39 -0000 1.44 +++ openpkg-web/security.txt 15 Sep 2003 13:27:23 -0000 1.45 @@ -1,3 +1,4 @@ +15-Sep-2003: Security Advisory: S<OpenPKG-SA-2003.039-perl> 15-Sep-2003: Security Advisory: S<OpenPKG-SA-2003.038-mysql> 28-Aug-2003: Security Advisory: S<OpenPKG-SA-2003.037-sendmail> 06-Aug-2003: Security Advisory: S<OpenPKG-SA-2003.036-perl-www> @@ . patch -p0 <<'@@ .' Index: openpkg-web/security.wml ============================================================================ $ cvs diff -u -r1.62 -r1.63 security.wml --- openpkg-web/security.wml 15 Sep 2003 11:33:39 -0000 1.62 +++ openpkg-web/security.wml 15 Sep 2003 13:27:23 -0000 1.63 @@ -76,6 +76,7 @@ </define-tag> <box bdwidth=1 bdcolor="#a5a095" bdspace=10 bgcolor="#e5e0d5"> <table cellspacing=0 cellpadding=0 border=0> + <sa 2003.038 perl> <sa 2003.038 mysql> <sa 2003.037 sendmail> <sa 2003.036 perl-www> @@ . patch -p0 <<'@@ .' Index: openpkg-web/security/OpenPKG-SA-2003.039-perl.txt ============================================================================ $ cvs diff -u -r0 -r1.1 OpenPKG-SA-2003.039-perl.txt --- /dev/null 2003-09-15 15:27:24.000000000 +0200 +++ OpenPKG-SA-2003.039-perl.txt 2003-09-15 15:27:24.000000000 +0200 @@ -0,0 +1,90 @@ +________________________________________________________________________ + +OpenPKG Security Advisory The OpenPKG Project +http://www.openpkg.org/security.html http://www.openpkg.org [EMAIL PROTECTED] [EMAIL PROTECTED] +OpenPKG-SA-2003.039 15-Sep-2003 +________________________________________________________________________ + +Package: perl (CGI.pm) +Vulnerability: cross site scripting +OpenPKG Specific: no + +Affected Releases: Affected Packages: Corrected Packages: +OpenPKG CURRENT <= perl-5.8.0-20030903 >= perl-5.8.0-20030915 +OpenPKG 1.3 <= perl-5.8.0-1.3.0 >= perl-5.8.0-1.3.1 +OpenPKG 1.2 <= perl-5.8.0-1.2.0 >= perl-5.8.0-1.2.1 + +Dependent Packages: none + +Description: + This message is a continuation of OpenPKG-SA-2003.036-perl-www [0]. + The Common Vulnerabilities and Exposures (CVE) project assigned the + id CAN-2003-0615 [1] to the problem described. This document also + outlines a important problematic regarding the native load order of + perl modules. + + The CGI.pm module not only comes with the "perl-www" package but a + ancient version 2.81 is also embedded into "perl". The corrected + packages mentioned above have the official fix backported to the + embedded version. + + Be aware that all releases of OpenPKG up to and including 1.3 use + Perl's native load order of modules. Embedded modules are preferred + over additional modules. This means that CGI.pm embedded into the + "perl" package is loaded before the sibling from the additional + "perl-www" package is found. This inhibits the use and correction of + additional modules with same name as embedded ones. + + It should be noted that beginning with perl-5.8.0-20030903 the load + order is patched to prefer additional modules [2]. There are no plans + modifiying the module load order of the "perl" package in existing + releases. Although more intuitive it would change existing behaviour + and is likely to break existing installations. During the support + lifecycle security advisories and corrected packages will be issued + for both, embedded and additional packages. + + Please check whether you are affected by running "<prefix>/bin/rpm -q + perl". If you have the "perl" package installed 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][8] or a mirror + location, verify its integrity [9], build a corresponding binary RPM + from it [3] and update your OpenPKG installation by applying the + binary RPM [4]. For the current release OpenPKG 1.3, 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.3/UPD + ftp> get perl-5.8.0-1.3.1.src.rpm + ftp> bye + $ <prefix>/bin/rpm -v --checksig perl-5.8.0-1.3.1.src.rpm + $ <prefix>/bin/rpm --rebuild perl-5.8.0-1.3.1.src.rpm + $ su - + # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/perl-5.8.0-1.3.1.*.rpm +________________________________________________________________________ + +References: + [0] http://www.openpkg.org/security/OpenPKG-SA-2003.036-perl-www.html + [1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0615 + [2] http://cvs.openpkg.org/chngview?cn=11997 + [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.2/UPD/perl-5.8.0-1.2.1.src.rpm + [6] ftp://ftp.openpkg.org/release/1.3/UPD/perl-5.8.0-1.3.1.src.rpm + [7] ftp://ftp.openpkg.org/release/1.2/UPD/ + [8] ftp://ftp.openpkg.org/release/1.3/UPD/ + [9] 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 retrieve from http://pgp.openpkg.org and +hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/ +for details on how to verify the integrity of this advisory. +_________________________ @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]