First published: Thu Mar 07 2013(Updated: )
Alyssa Milburn reported that when MySQL attempts to convert a binary string representation of a raw geometry object to a textual representation, the length checks in MySQL's spatial functions would overflow, resulting in a crash of mysqld (for instance, a query like "select astext(0x0100000000030000000100000000000010);" will cause the crash). This has been reported to both upstream MariaDB [1] and Oracle [2]. A proposed patch is available [3]. [1] <a href="https://mariadb.atlassian.net/browse/MDEV-4252">https://mariadb.atlassian.net/browse/MDEV-4252</a> [2] <a href="http://bugs.mysql.com/bug.php?id=68591">http://bugs.mysql.com/bug.php?id=68591</a> [3] <a href="http://lists.askmonty.org/pipermail/commits/2013-March/004371.html">http://lists.askmonty.org/pipermail/commits/2013-March/004371.html</a> Acknowledgements: Red Hat would like to thank Alyssa Milburn for reporting this issue.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/mysql | <5.6.12 | 5.6.12 |
redhat/mysql | <5.5.32 | 5.5.32 |
redhat/mysql | <5.1.70 | 5.1.70 |
Mariadb Mariadb | >=5.5.0<5.5.32 | |
Mariadb Mariadb | >=10.0.0<10.0.4 | |
MySQL | >=5.1.0<=5.1.69 | |
MySQL | >=5.5.0<=5.5.31 | |
MySQL | >=5.6.0<=5.6.11 | |
Red Hat Enterprise Linux | =5 | |
Red Hat Enterprise Linux | =6.0 | |
Debian Debian Linux | =7.0 | |
Ubuntu Linux | =10.04 | |
Ubuntu Linux | =12.04 | |
Ubuntu Linux | =12.10 | |
Ubuntu Linux | =13.04 | |
openSUSE | =11.4 | |
openSUSE | =12.2 | |
openSUSE | =12.3 | |
SUSE Linux Enterprise Desktop with Beagle | =11-sp3 | |
SUSE Linux Enterprise Server | =11-sp3 | |
suse linux enterprise server vmware | =11-sp3 | |
SUSE Linux Enterprise Software Development Kit | =11-sp3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2013-1861 has a high severity rating as it can lead to a crash of the MySQL server.
To mitigate CVE-2013-1861, upgrade MySQL to version 5.6.12, 5.5.32, or 5.1.70 or higher.
CVE-2013-1861 affects MySQL versions below 5.6.12, 5.5.32, and 5.1.70.
Yes, MariaDB versions between 5.5.0 and 5.5.32 and 10.0.0 and 10.0.4 are affected by CVE-2013-1861.
Exploitation of CVE-2013-1861 can cause a crash of the mysqld process, resulting in service disruption.