Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-2583 EUVD-2007-2576GHSA-hf23-jpgj-4fhg

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 c…

Published May 9, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 mysql-dfsg-5.0 5.0.32-7etch3 DSA-1413-1
Debian 3.1 mysql-dfsg 4.0.24-10sarge3 DSA-1413-1
Debian 3.1 mysql-dfsg-4.1 4.1.11a-4sarge8 DSA-1413-1
ReleasePackageFixed inAdvisory
RHEL 5 mysql +4 5.0.45-7.el5 RHSA-2008:0364

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References