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 13:33:39
Branch: HEAD Handle: 2003091512333900
Added files:
openpkg-web/security OpenPKG-SA-2003.038-mysql.txt
Modified files:
openpkg-web security.txt security.wml
Log:
SA-2003.038-mysql; CAN-2003-0780
Summary:
Revision Changes Path
1.44 +1 -0 openpkg-web/security.txt
1.62 +1 -0 openpkg-web/security.wml
1.1 +77 -0 openpkg-web/security/OpenPKG-SA-2003.038-mysql.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-web/security.txt
============================================================================
$ cvs diff -u -r1.43 -r1.44 security.txt
--- openpkg-web/security.txt 28 Aug 2003 08:37:00 -0000 1.43
+++ openpkg-web/security.txt 15 Sep 2003 11:33:39 -0000 1.44
@@ -1,3 +1,4 @@
+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>
06-Aug-2003: Security Advisory: S<OpenPKG-SA-2003.035-openssh>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/security.wml
============================================================================
$ cvs diff -u -r1.61 -r1.62 security.wml
--- openpkg-web/security.wml 28 Aug 2003 08:37:00 -0000 1.61
+++ openpkg-web/security.wml 15 Sep 2003 11:33:39 -0000 1.62
@@ -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 mysql>
<sa 2003.037 sendmail>
<sa 2003.036 perl-www>
<sa 2003.035 openssh>
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/security/OpenPKG-SA-2003.038-mysql.txt
============================================================================
$ cvs diff -u -r0 -r1.1 OpenPKG-SA-2003.038-mysql.txt
--- /dev/null 2003-09-15 13:33:39.000000000 +0200
+++ OpenPKG-SA-2003.038-mysql.txt 2003-09-15 13:33:39.000000000 +0200
@@ -0,0 +1,77 @@
+________________________________________________________________________
+
+OpenPKG Security Advisory The OpenPKG Project
+http://www.openpkg.org/security.html http://www.openpkg.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
+OpenPKG-SA-2003.mysql 15-Sep-2003
+________________________________________________________________________
+
+Package: mysql
+Vulnerability: arbitrary code execution
+OpenPKG Specific: no
+
+Affected Releases: Affected Packages: Corrected Packages:
+OpenPKG CURRENT <= mysql-4.0.14-20030904 >= mysql-4.0.15-20030910
+OpenPKG 1.3 <= mysql-4.0.14-1.3.1 >= mysql-4.0.14-1.3.2
+OpenPKG 1.2 <= mysql-3.23.54a-1.2.3 >= mysql-3.23.54a-1.2.4
+
+Dependent Packages: none
+
+Description:
+ Frank Denis <[EMAIL PROTECTED]> reported a vulnerability [0] in MySQL
+ [1] affecting MySQL3 versions 3.0.57 and earlier and MySQL4 versions
+ 4.0.14 and earlier. Passwords of MySQL users are stored in the "User"
+ table, part of the "mysql" database, specifically in the "Password"
+ field. The passwords are hashed and stored as a 16 characters
+ long hexadecimal value, specifically in the "Password" field.
+ Unfortunately, a function involved in password checking misses correct
+ bounds checking. By filling a "Password" field a value wider than 16
+ characters, a buffer overflow will occur. The Common Vulnerabilities
+ and Exposures (CVE) project assigned the id CAN-2003-0780 [2] to the
+ problem.
+
+ Please check whether you are affected by running "<prefix>/bin/rpm -q
+ mysql". If you have the "mysql" 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 mysql-4.0.14-1.3.2.src.rpm
+ ftp> bye
+ $ <prefix>/bin/rpm -v --checksig mysql-4.0.14-1.3.2.src.rpm
+ $ <prefix>/bin/rpm --rebuild mysql-4.0.14-1.3.2.src.rpm
+ $ su -
+ # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/mysql-4.0.14-1.3.2.*.rpm
+________________________________________________________________________
+
+References:
+ [0] http://www.securityfocus.com/archive/1/337012/2003-09-05/2003-09-11/0
+ [1] http://www.mysql.com/
+ [2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0780
+ [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/mysql-3.23.54a-1.2.4.src.rpm
+ [6] ftp://ftp.openpkg.org/release/1.3/UPD/mysql-4.0.14-1.3.2.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]