CVE-2007-2583: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-hf23-jpgj-4fhg
Published
Advisory Summary

CVE-2007-2583 is a MODERATE security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2007-2583 at a Glance

CVE Identifier CVE-2007-2583
GHSA Identifier GHSA-hf23-jpgj-4fhg
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2007-2583

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2007-2583, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

References

NVD — CVE-2007-2583 NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-2583
exchange.xforce.ibmcloud.com/vulnerabilities/342... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/34232
issues.rpath.com/browse/rpl-1356 WEB
https://issues.rpath.com/browse/RPL-1356
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9930
usn.ubuntu.com/528-1 WEB
https://usn.ubuntu.com/528-1
bugs.mysql.com/bug.php WEB
http://bugs.mysql.com/bug.php?id=27513
lists.mysql.com/commits/23685 WEB
http://lists.mysql.com/commits/23685
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
Software Security Information SECURITY
http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html
secunia.com/advisories/25188 WEB
http://secunia.com/advisories/25188
secunia.com/advisories/25196 WEB
http://secunia.com/advisories/25196
secunia.com/advisories/25255 WEB
http://secunia.com/advisories/25255
secunia.com/advisories/25389 WEB
http://secunia.com/advisories/25389
secunia.com/advisories/25946 WEB
http://secunia.com/advisories/25946
secunia.com/advisories/27155 WEB
http://secunia.com/advisories/27155
secunia.com/advisories/27823 WEB
http://secunia.com/advisories/27823
secunia.com/advisories/28838 WEB
http://secunia.com/advisories/28838
secunia.com/advisories/30351 WEB
http://secunia.com/advisories/30351
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200705-11.xml
Software Security Information SECURITY
http://www.debian.org/security/2007/dsa-1413
www.exploit-db.com/exploits/30020 WEB
http://www.exploit-db.com/exploits/30020
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2007:139
www.osvdb.org/34734 WEB
http://www.osvdb.org/34734
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2008-0364.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/23911
www.trustix.org/errata/2007/0017 WEB
http://www.trustix.org/errata/2007/0017
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/1731

Frequently Asked Questions

What is CVE-2007-2583?
CVE-2007-2583 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2007-2583?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2007-2583?
CVE-2007-2583 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2007-2583?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hf23-jpgj-4fhg",
  "modified" : "2025-04-09T03:41:23Z",
  "published" : "2022-05-01T18:05:10Z",
  "aliases" : [ "CVE-2007-2583" ],
  "details" : "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.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-2583"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/34232"
  }, {
    "type" : "WEB",
    "url" : "https://issues.rpath.com/browse/RPL-1356"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9930"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/528-1"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.mysql.com/bug.php?id=27513"
  }, {
    "type" : "WEB",
    "url" : "http://lists.mysql.com/commits/23685"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/124295/MySQL-5.0.x-Denial-Of-Service.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25188"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25196"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25255"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25389"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25946"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27155"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27823"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28838"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30351"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200705-11.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2007/dsa-1413"
  }, {
    "type" : "WEB",
    "url" : "http://www.exploit-db.com/exploits/30020"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2007:139"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/34734"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2008-0364.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/23911"
  }, {
    "type" : "WEB",
    "url" : "http://www.trustix.org/errata/2007/0017"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/1731"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2007-05-10T00:19:00Z"
  }
}