First published: Wed May 09 2007(Updated: )
The in_decimal::set function in item_cmpfunc.cc in MySQL before 5.0.40, and 5.1 before 5.1.18-beta, allows context-dependent attackers to cause a denial of service (crash) via a crafted IF clause that results in a divide-by-zero error and a NULL pointer dereference.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
MySQL | >=5.1<=5.1.17 | |
MySQL | <5.0.40 | |
Debian Linux | =3.1 | |
Debian Linux | =4.0 | |
Ubuntu | =6.06 | |
Ubuntu | =7.04 | |
Ubuntu | =6.10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-2583 is rated as a medium severity vulnerability due to its potential to cause a denial of service.
To fix CVE-2007-2583, upgrade MySQL to version 5.0.40 or later, or to 5.1.18-beta or later.
CVE-2007-2583 affects MySQL versions before 5.0.40 and 5.1 before 5.1.18-beta, along with specific Debian and Ubuntu Linux distributions.
CVE-2007-2583 can be exploited through a crafted IF clause that leads to a divide-by-zero error.
CVE-2007-2583 can crash MySQL services, resulting in a denial of service for users.