CVE-2009-2287: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-76p8-35jq-5x43
CWE-476
Published
Advisory Summary

CVE-2009-2287 is a MODERATE security vulnerability vulnerability (CWE-476: NULL Pointer Dereference) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product dereferences a pointer that it expects to be valid but is null.. Remediation is available in the latest vendor maintenance releases.

CVE-2009-2287 at a Glance

CVE Identifier CVE-2009-2287
GHSA Identifier GHSA-76p8-35jq-5x43
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-476: NULL Pointer Dereference
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2009-2287

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-2009-2287, 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 CWE-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. 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 kvm_arch_vcpu_ioctl_set_sregs function in the KVM in Linux kernel 2.6 before 2.6.30, when running on x86 systems, does not validate the page table root in a KVM_SET_SREGS call, which allows local users to cause a denial of service (crash or hang) via a crafted cr3 value, which triggers a NULL pointer dereference in the gfn_to_rmap function.

References

NVD — CVE-2009-2287 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-2287
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git%3Ba=blob%3Bf=queue-2.6.30/kvm-x86-check-for-cr3-validity-in-ioctl_set_sregs.patch%3Bh=b48a47dad2cf76358b327368f80c0805e6370c68%3Bhb=e7c45b24f298b5d9efd7d401150f64a1b51aaac4
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git;a=blob;f=queue-2.6.30/kvm-x86-check-for-cr3-validity-in-ioctl_set_sregs.patch;h=b48a47dad2cf76358b327368f80c0805e6370c68;hb=e7c45b24f298b5d9efd7d401150f64a1b51aaac4
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=59839dfff5eabca01cc4e20b45797a60a80af8cb
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=59839dfff5eabca01cc4e20b45797a60a80af8cb
secunia.com/advisories/35675 WEB
http://secunia.com/advisories/35675
secunia.com/advisories/36045 WEB
http://secunia.com/advisories/36045
secunia.com/advisories/36054 WEB
http://secunia.com/advisories/36054
sourceforge.net/tracker/ WEB
http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2687641&group_id=180599
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1845
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2010:198
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2009/06/30/1
www.ubuntu.com/usn/usn-807-1 WEB
http://www.ubuntu.com/usn/usn-807-1

Frequently Asked Questions

What is CVE-2009-2287?
CVE-2009-2287 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-476: NULL Pointer Dereference.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2009-2287?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-2287?
CVE-2009-2287 is classified under CWE-476: NULL Pointer Dereference (The product dereferences a pointer that it expects to be valid but is NULL.).
How can I check Maven dependencies for CVE-2009-2287?
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-76p8-35jq-5x43",
  "modified" : "2025-04-09T04:11:29Z",
  "published" : "2022-05-02T03:33:35Z",
  "aliases" : [ "CVE-2009-2287" ],
  "details" : "The kvm_arch_vcpu_ioctl_set_sregs function in the KVM in Linux kernel 2.6 before 2.6.30, when running on x86 systems, does not validate the page table root in a KVM_SET_SREGS call, which allows local users to cause a denial of service (crash or hang) via a crafted cr3 value, which triggers a NULL pointer dereference in the gfn_to_rmap function.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-2287"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git%3Ba=blob%3Bf=queue-2.6.30/kvm-x86-check-for-cr3-validity-in-ioctl_set_sregs.patch%3Bh=b48a47dad2cf76358b327368f80c0805e6370c68%3Bhb=e7c45b24f298b5d9efd7d401150f64a1b51aaac4"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git;a=blob;f=queue-2.6.30/kvm-x86-check-for-cr3-validity-in-ioctl_set_sregs.patch;h=b48a47dad2cf76358b327368f80c0805e6370c68;hb=e7c45b24f298b5d9efd7d401150f64a1b51aaac4"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=59839dfff5eabca01cc4e20b45797a60a80af8cb"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=59839dfff5eabca01cc4e20b45797a60a80af8cb"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35675"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/36045"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/36054"
  }, {
    "type" : "WEB",
    "url" : "http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2687641&group_id=180599"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1845"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2010:198"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/06/30/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-807-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-476" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-07-01T13:00:00Z"
  }
}