Bug 462071 (CVE-2008-3963) - CVE-2008-3963 MySQL: Using an empty binary value leads to server crash
Summary: CVE-2008-3963 MySQL: Using an empty binary value leads to server crash
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-3963
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 476896
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-12 12:57 UTC by Jan Lieskovsky
Modified: 2021-11-12 19:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-23 22:46:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1067 0 normal SHIPPED_LIVE Moderate: Red Hat Application Stack v2.3 security and enhancement update 2009-05-26 17:06:06 UTC
Red Hat Product Errata RHSA-2009:1289 0 normal SHIPPED_LIVE Moderate: mysql security and bug fix update 2009-09-01 13:32:14 UTC

Description Jan Lieskovsky 2008-09-12 12:57:18 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-3963 to
the following vulnerability:

MySQL 5.0 before 5.0.66, 5.1 before 5.1.26, and 6.0 before 6.0.6 does
not properly handle a b'' (b single-quote single-quote) token, aka an
empty bit-string literal, which allows remote attackers to cause a
denial of service (daemon crash) by using this token in a SQL
statement.

References:

http://www.openwall.com/lists/oss-security/2008/09/09/4
http://www.openwall.com/lists/oss-security/2008/09/09/7
http://bugs.mysql.com/bug.php?id=35658
http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-66.html
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-26.html
http://dev.mysql.com/doc/refman/6.0/en/news-6-0-6.html
https://bugs.gentoo.org/237166

Comment 1 Jan Lieskovsky 2008-09-12 13:00:47 UTC
This issue is 64bit architecture specific one. 

Sample test output (mysql-server-5.0.45-7.el5.x86_64):

# service mysqld start
# mysql -u root mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.45 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select b'';
ERROR 2013 (HY000): Lost connection to MySQL server during query

/***** ^-connection crash -^ *****/

mysql> select x'';
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id:    1
Current database: mysql

+-----+
| x'' |
+-----+
|     | 
+-----+
1 row in set (0.00 sec)

Comment 2 Jan Lieskovsky 2008-09-12 13:03:03 UTC
Detail information about (un)affected versions:

This issue DOES NOT affect the versions of the mysql-server package, as
shipped with Red Hat Enteprise Linux 2.1, 3 and 4.
(Unsupported functionality on these versions of the MySQL server).

This issue AFFECTS the versions of the mysql-server package, as shipped
with Red Hat Enterprise Linux 5.1 and within Fedora releases of 8, 9 and 10.

Comment 3 errata-xmlrpc 2009-05-26 17:06:21 UTC
This issue has been addressed in following products:

  Red Hat Web Application Stack for RHEL 5

Via RHSA-2009:1067 https://rhn.redhat.com/errata/RHSA-2009-1067.html

Comment 4 errata-xmlrpc 2009-09-02 09:45:27 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:1289 https://rhn.redhat.com/errata/RHSA-2009-1289.html

Comment 5 errata-xmlrpc 2009-09-02 12:10:00 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:1289 https://rhn.redhat.com/errata/RHSA-2009-1289.html


Note You need to log in before you can comment on or make changes to this bug.