Advisory Published
Updated

REDHAT-BUG-640861

First published: Wed Oct 06 2010(Updated: )

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 enter an infinite loop by creating a query with nested JOINs when used from stored procedures and prepared statements. [1] <a href="http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html">http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html</a> [2] <a href="http://bugs.mysql.com/bug.php?id=53544">http://bugs.mysql.com/bug.php?id=53544</a> This affects MySQL 5.x, but MySQL 4.x and early do not have support for stored procedures. This causes CPU consumption around 95-100%, however connections and queries to the database can continue. Killing the query itself is ineffective, and even a 'service mysqld restart' will fail unless the mysqld process that is handling the query is forcibly killed.

Affected SoftwareAffected VersionHow to fix
MySQL (MySQL-common)<5.1.51

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What versions of MySQL are affected by REDHAT-BUG-640861?

    MySQL versions prior to 5.1.51 are affected by REDHAT-BUG-640861.

  • What type of issue is identified in REDHAT-BUG-640861?

    REDHAT-BUG-640861 identifies a flaw that can cause the MySQL server to enter an infinite loop.

  • What actions can an authenticated user take related to REDHAT-BUG-640861?

    An authenticated user can create a query with nested JOINs in stored procedures and prepared statements to trigger the issue.

  • How can I address the vulnerability outlined in REDHAT-BUG-640861?

    To address REDHAT-BUG-640861, you should upgrade to MySQL version 5.1.51 or later.

  • What are the potential consequences of exploiting the vulnerability in REDHAT-BUG-640861?

    Exploiting REDHAT-BUG-640861 can lead to service disruptions due to the server entering an infinite loop.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203