Format string vulnerability in time.cc in MySQL Server 4.1 before 4.1.21 and 5.0 before 1 April 2006 allows remote authenticated users to cause a denial of service (crash) via a format string instead of a date as the first parameter to the date_format function, which is later used in a formatted print call to display the error message.
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mysql | Mysql | 4.1.8 (including) | 4.1.8 (including) |
Mysql | Mysql | 4.1.12 (including) | 4.1.12 (including) |
Mysql | Mysql | 4.1.13 (including) | 4.1.13 (including) |
Mysql | Mysql | 4.1.14 (including) | 4.1.14 (including) |
Mysql | Mysql | 4.1.15 (including) | 4.1.15 (including) |
Mysql | Mysql | 5.0.5.0.21 (including) | 5.0.5.0.21 (including) |
Mysql | Mysql | 5.0.10 (including) | 5.0.10 (including) |
Mysql | Mysql | 5.0.15 (including) | 5.0.15 (including) |
Mysql | Mysql | 5.0.16 (including) | 5.0.16 (including) |
Mysql | Mysql | 5.0.17 (including) | 5.0.17 (including) |
Mysql | Oracle | 4.1.6 (including) | 4.1.6 (including) |
Mysql | Oracle | 4.1.7 (including) | 4.1.7 (including) |
Mysql | Oracle | 4.1.9 (including) | 4.1.9 (including) |
Mysql | Oracle | 4.1.11 (including) | 4.1.11 (including) |
Mysql | Oracle | 4.1.16 (including) | 4.1.16 (including) |
Mysql | Oracle | 4.1.18 (including) | 4.1.18 (including) |
Mysql | Oracle | 4.1.19 (including) | 4.1.19 (including) |
Mysql | Oracle | 4.1.20 (including) | 4.1.20 (including) |
Mysql | Oracle | 5.0.6 (including) | 5.0.6 (including) |
Mysql | Oracle | 5.0.9 (including) | 5.0.9 (including) |
Mysql | Oracle | 5.0.11 (including) | 5.0.11 (including) |
Mysql | Oracle | 5.0.12 (including) | 5.0.12 (including) |
Mysql | Oracle | 5.0.13 (including) | 5.0.13 (including) |
Mysql | Oracle | 5.0.18 (including) | 5.0.18 (including) |
Mysql | Oracle | 5.0.19 (including) | 5.0.19 (including) |
Red Hat Enterprise Linux 4 | RedHat | mysql-0:4.1.22-2.el4 | * |
Mysql-dfsg-5.0 | Ubuntu | dapper | * |
Mysql-dfsg-5.0 | Ubuntu | edgy | * |
Mysql-dfsg-5.0 | Ubuntu | feisty | * |
When an attacker can modify an externally-controlled format string, this can lead to buffer overflows, denial of service, or data representation problems. It should be noted that in some circumstances, such as internationalization, the set of format strings is externally controlled by design. If the source of these format strings is trusted (e.g. only contained in library files that are only modifiable by the system administrator), then the external control might not itself pose a vulnerability.