Bug 640858 (CVE-2010-3838) - CVE-2010-3838 MySQL: crash with LONGBLOB and union or update with subquery (MySQL Bug#54461)
Summary: CVE-2010-3838 MySQL: crash with LONGBLOB and union or update with subquery (M...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2010-3838
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 645642 645643 645647 652553 652554 833943
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-06 22:45 UTC by Vincent Danen
Modified: 2019-09-29 12:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 15:20:22 UTC
Embargoed:


Attachments (Terms of Use)
upstream patch (1.79 KB, patch)
2010-10-14 08:45 UTC, Huzaifa S. Sidhpurwala
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0825 0 normal SHIPPED_LIVE Moderate: mysql security update 2010-11-03 20:21:33 UTC
Red Hat Product Errata RHSA-2011:0164 0 normal SHIPPED_LIVE Moderate: mysql security update 2011-01-18 18:42:37 UTC

Description Vincent Danen 2010-10-06 22:45:53 UTC
A flaw in MySQL versions prior to 5.1.51 [1] was reported [2] that could allow an authenticated user to kill connections to MySQL by creating a query with the GREATEST() or LEAST() functions having a mixed list of numeric and LONGBLOB arguments.

[1] http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html
[2] http://bugs.mysql.com/bug.php?id=54461

This is noted as having been fixed in MySQL 5.1.51, but it does not cause a crash on MySQL 5.0.50 in Fedora 13.  It also causes a crash on Red Hat Enterprise Linux 5 (5.0.77) but not Red Hat Enterprise Linux 4 (4.1.22).

Comment 1 Vincent Danen 2010-10-12 20:18:26 UTC
This issue has been assigned the name CVE-2010-3838:

http://article.gmane.org/gmane.comp.security.oss.general/3627

Comment 2 Huzaifa S. Sidhpurwala 2010-10-14 08:43:14 UTC
Upstream patch:
http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.1/revision/3461.1.8

Comment 3 Huzaifa S. Sidhpurwala 2010-10-14 08:45:23 UTC
Created attachment 453405 [details]
upstream patch

Comment 6 Huzaifa S. Sidhpurwala 2010-10-19 02:49:37 UTC
This issue did NOT affect the versions of the mysql package, as shipped with
Red Hat Enterprise Linux 3 and 4.

This issue affects the version of mysql package, as shipped with Red Hat
Enterprise Linux 5 and 6.

---

This issue affects the version of the mysql package, as shipped with
Fedora 12.

This issue did NOT affect the version of the mysql package, as shipped with
Fedora 13.

Comment 8 Huzaifa S. Sidhpurwala 2010-10-22 06:36:00 UTC
Created mysql tracking bugs for this issue

Affects: fedora-12 [bug 645647]

Comment 10 errata-xmlrpc 2010-11-03 20:21:46 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0825 https://rhn.redhat.com/errata/RHSA-2010-0825.html

Comment 12 errata-xmlrpc 2011-01-18 18:42:53 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0164 https://rhn.redhat.com/errata/RHSA-2011-0164.html


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