Overview
There is a buffer overflow vulnerability in the way MySQL handles overly long "scramble" strings, which could allow an attacker to cause a denial of service or potentially execute arbitrary code.
Description
| MySQL is an open-source database system available for Microsoft Windows, Linux, and other UNIX-based operating systems. There is a vulnerability in MySQL in which an overly long "scramble" string generated by the my_rnd() function could cause a buffer overflow to occur. It has been reported that versions 4.1 prior to 4.1.3 and version 5.0 are affected. | 
Impact
| A remote, unauthenticated attacker could cause a denial of service or potentially execute code of the attacker's choice. | 
Solution
| Upgrade According to the NGSSoftware Security Advisory, this vulnerability has been fixed in version 4.1.3 (Beta) and version 5.0 (Alpha). | 
| 
 | 
Vendor Information
CVSS Metrics
| Group | Score | Vector | 
|---|---|---|
| Base | ||
| Temporal | ||
| Environmental | 
References
Acknowledgements
This vulnerability was reported by Chris Anley of NGSSoftware.
This document was written by Damon Morda.
Other Information
| CVE IDs: | CVE-2004-0628 | 
| Severity Metric: | 2.23 | 
| Date Public: | 2004-07-01 | 
| Date First Published: | 2004-07-12 | 
| Date Last Updated: | 2004-07-21 18:13 UTC | 
| Document Revision: | 15 |