Bug 640865 (CVE-2010-3840)

Summary: CVE-2010-3840 MySQL: crash when loading data into geometry function PolyFromWKB() (MySQL Bug#51875)
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: Bjorn.Munch, byte, databases-maint, extras-orphan, hhorak, jlieskov, jrusnack, kvolny, tgl
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 15:20:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 645637, 645638, 645642, 645643, 645647, 645651, 652553, 652554, 833943    
Bug Blocks:    
Attachments:
Description Flags
upstream patch none

Description Vincent Danen 2010-10-07 00:01:32 UTC
A flaw in MySQL versions prior to 5.1.51 [1] was reported [2] that could allow an authenticated user to cause the MySQL server to crash when improper WKB data was passed to the PolyFromWKB() function.

There is an upstream patch [3] to correct the issue.

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

Comment 2 Vincent Danen 2010-10-12 20:23:20 UTC
This issue has been assigned the name CVE-2010-3840:

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

Comment 3 Huzaifa S. Sidhpurwala 2010-10-14 09:15:53 UTC
Created attachment 453413 [details]
upstream patch

Comment 10 Huzaifa S. Sidhpurwala 2010-10-20 11:16:19 UTC
This issue did NOT affect the versions of the mysql package, as shipped with
Red Hat Enterprise Linux 3

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

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

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

Affects: fedora-12 [bug 645647]

Comment 14 Huzaifa S. Sidhpurwala 2010-10-22 06:43:07 UTC
Created mysql tracking bugs for this issue

Affects: fedora-13 [bug 645651]

Comment 18 errata-xmlrpc 2010-11-03 20:04:59 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

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

Comment 19 errata-xmlrpc 2010-11-03 20:21:51 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 22 errata-xmlrpc 2011-01-18 18:42:58 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