GLSA 200608-09: MySQL: Denial of Service

Severity:normal
Title:MySQL: Denial of Service
Date:08/06/2006
Bugs: #142429
ID:200608-09

Synopsis

An authenticated user can crash MySQL through invalid parameters to the date_format function.

Background

MySQL is a popular multi-threaded, multi-user SQL server.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-db/mysql < 4.1.21 >= 4.1.21 All supported architectures

Description

Jean-David Maillefer discovered a format string vulnerability in time.cc where MySQL fails to properly handle specially formatted user input to the date_format function.

Impact

By specifying a format string as the first parameter to the date_format function, an authenticated attacker could cause MySQL to crash, resulting in a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All MySQL users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --verbose --oneshot ">=dev-db/mysql-4.1.21"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200608-09.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!