Bug 640856 - (CVE-2010-3837) CVE-2010-3837 MySQL: crash when group_concat and "with rollup" in prepared statements (MySQL Bug#54476)
CVE-2010-3837 MySQL: crash when group_concat and "with rollup" in prepared st...
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
impact=moderate,public=20100614,repor...
: Security
Depends On: 645642 645643 645647 652553 652554 833943
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-06 18:10 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:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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

  None (edit)
Description Vincent Danen 2010-10-06 18:10:04 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 using GROUP_CONCAT() together with 'WITH ROLLUP'.

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

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).  GROUP_CONCAT() support looks to have been added in MySQL 4.1, so Red Hat Enterprise Linux 3 is not affected.

A patch for this flaw is included in the upstream report.
Comment 1 Vincent Danen 2010-10-12 16:16:51 EDT
This issue has been assigned the name CVE-2010-3837:

http://article.gmane.org/gmane.comp.security.oss.general/3627
Comment 3 Huzaifa S. Sidhpurwala 2010-10-14 04:39:10 EDT
Created attachment 453404 [details]
upstream patch
Comment 5 Huzaifa S. Sidhpurwala 2010-10-18 22:48:23 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:35:53 EDT
Created mysql tracking bugs for this issue

Affects: fedora-12 [bug 645647]
Comment 10 errata-xmlrpc 2010-11-03 16:21:45 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:51 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.