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 | |
Oracle MySQL | >=5.1.0<=5.1.69 | |
Oracle MySQL | >=5.5.0<=5.5.31 | |
Oracle MySQL | >=5.6.0<=5.6.11 | |
Redhat Enterprise Linux | =5 | |
Redhat Enterprise Linux | =6.0 | |
Debian Debian Linux | =7.0 | |
Canonical Ubuntu Linux | =10.04 | |
Canonical Ubuntu Linux | =12.04 | |
Canonical Ubuntu Linux | =12.10 | |
Canonical Ubuntu Linux | =13.04 | |
openSUSE openSUSE | =11.4 | |
openSUSE openSUSE | =12.2 | |
openSUSE openSUSE | =12.3 | |
SUSE Linux Enterprise Desktop | =11-sp3 | |
SUSE Linux Enterprise Server | =11-sp3 | |
Suse Linux Enterprise Server | =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.