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: 20-Jan-2003 21:11:49 Branch: HEAD Handle: 2003012020114701 Added files: openpkg-web/security OpenPKG-SA-2003.003-vim.txt Modified files: openpkg-web security.txt security.wml Log: SA-2003.003-vim; CAN-2002-1377 Summary: Revision Changes Path 1.11 +1 -0 openpkg-web/security.txt 1.27 +1 -0 openpkg-web/security.wml 1.1 +76 -0 openpkg-web/security/OpenPKG-SA-2003.003-vim.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-web/security.txt ============================================================================ $ cvs diff -u -r1.10 -r1.11 security.txt --- openpkg-web/security.txt 16 Jan 2003 13:35:12 -0000 1.10 +++ openpkg-web/security.txt 20 Jan 2003 20:11:47 -0000 1.11 @@ -1,3 +1,4 @@ +21-Jan-2003: Security Advisory: S<OpenPKG-SA-2003.003-vim> 16-Jan-2003: Security Advisory: S<OpenPKG-SA-2003.002-dhcpd> 15-Jan-2003: Security Advisory: S<OpenPKG-SA-2003.001-png> 17-Dec-2002: Security Advisory: S<OpenPKG-SA-2002.016-fetchmail> @@ . patch -p0 <<'@@ .' Index: openpkg-web/security.wml ============================================================================ $ cvs diff -u -r1.26 -r1.27 security.wml --- openpkg-web/security.wml 16 Jan 2003 14:25:53 -0000 1.26 +++ openpkg-web/security.wml 20 Jan 2003 20:11:47 -0000 1.27 @@ -70,6 +70,7 @@ <a href="security/OpenPKG-SA-%0-%1.txt">TXT</a>)<br> </define-tag> <box bdspace=10 bgcolor="#e5e0d5"> + <sa 2003.003 vim> <sa 2003.002 dhcpd> <sa 2003.001 png> <sa 2002.016 fetchmail> @@ . patch -p0 <<'@@ .' Index: openpkg-web/security/OpenPKG-SA-2003.003-vim.txt ============================================================================ $ cvs diff -u -r0 -r1.1 OpenPKG-SA-2003.003-vim.txt --- /dev/null 2003-01-20 21:11:48.000000000 +0100 +++ OpenPKG-SA-2003.003-vim.txt 2003-01-20 21:11:49.000000000 +0100 @@ -0,0 +1,76 @@ +________________________________________________________________________ + +OpenPKG Security Advisory The OpenPKG Project +http://www.openpkg.org/security.html http://www.openpkg.org [EMAIL PROTECTED] [EMAIL PROTECTED] +OpenPKG-SA-2003.003 21-Jan-2003 +________________________________________________________________________ + +Package: vim +Vulnerability: arbitrary command execution +OpenPKG Specific: no + +Affected Releases: Affected Packages: Corrected Packages: +OpenPKG CURRENT <= vim-6.1.264-20021223 >= vim-6.1.266-20021224 +OpenPKG 1.1 <= vim-6.1.165-1.1.0 >= vim-6.1.165-1.1.1 +OpenPKG 1.0 <= vim-6.0.92-1.0.1 >= vim-6.0.92-1.0.2 + +Affected Releases: Dependent Packages: none + +Description: + According to a security advisory from Georgi Guninski [0] a + vulnerability exists in the Vim (Vi Improved) text editor [1] which + allows arbitrary command execution using the libcall feature in + modelines. The Common Vulnerabilities and Exposures (CVE) project + assigned the id CAN-2002-1377 [2] to the problem. Both versions 6.0 + and 6.1 are affected. The necessary patch was incorporated into the + 6.1 source tree beginning with patchlevel 265. We have backported the + patch to the 6.0.92 and 6.1.165 releases. + + Please check whether you are affected by running "<prefix>/bin/rpm + -q vim". If you have the "vim" 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.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 vim-6.1.165-1.1.1.src.rpm + ftp> bye + $ <prefix>/bin/rpm -v --checksig vim-6.1.165-1.1.1.src.rpm + $ <prefix>/bin/rpm --rebuild vim-6.1.165-1.1.1.src.rpm + $ su - + # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/1.1.*.rpm +________________________________________________________________________ + +References: + [0] http://www.guninski.com/vim1.html + [1] http://www.vim.org/ + [2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1377 + [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.0/UPD/vim-6.0.92-1.0.2.src.rpm + [6] ftp://ftp.openpkg.org/release/1.1/UPD/vim-6.1.165-1.1.1.src.rpm + [7] ftp://ftp.openpkg.org/release/1.0/UPD/ + [8] ftp://ftp.openpkg.org/release/1.1/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 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". +________________________________________________________________________ + @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]