Bug 640858 - (CVE-2010-3838) CVE-2010-3838 MySQL: crash with LONGBLOB and union or update with subquery (MySQL Bug#54461)
CVE-2010-3838 MySQL: crash with LONGBLOB and union or update with subquery (M...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
public=20100614,reported=20100930,sou...
: Security
Depends On: 645642 645643 645647 652553 652554 833943
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-06 18:45 EDT by Vincent Danen
Modified: 2012-06-20 11:20 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-20 11:20:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Vincent Danen 2010-10-06 18:45:53 EDT
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 16:18:26 EDT
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 04:43:14 EDT
Upstream patch:
http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.1/revision/3461.1.8
Comment 3 Huzaifa S. Sidhpurwala 2010-10-14 04:45:23 EDT
Created attachment 453405 [details]
upstream patch
Comment 6 Huzaifa S. Sidhpurwala 2010-10-18 22:49:37 EDT
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 02:36:00 EDT
Created mysql tracking bugs for this issue

Affects: fedora-12 [bug 645647]
Comment 10 errata-xmlrpc 2010-11-03 16:21:46 EDT
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 13:42:53 EST
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.