CVE-2009-2695: Software Security Vulnerability Vulnerability
HIGHCVE-2009-2695 is a HIGH security vulnerability vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.. Remediation is available in the latest vendor maintenance releases.
CVE-2009-2695 at a Glance
How to Fix CVE-2009-2695
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.
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-2695, 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. 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
References
Frequently Asked Questions
What is CVE-2009-2695?
Which Software versions are affected?
What version fixes CVE-2009-2695?
What CWE is associated with CVE-2009-2695?
How can I check Maven dependencies for CVE-2009-2695?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jh8r-4ff3-92j9",
"modified" : "2025-04-09T04:13:37Z",
"published" : "2022-05-02T03:37:50Z",
"aliases" : [ "CVE-2009-2695" ],
"details" : "The Linux kernel before 2.6.31-rc7 does not properly prevent mmap operations that target page zero and other low memory addresses, which allows local users to gain privileges by exploiting NULL pointer dereference vulnerabilities, related to (1) the default configuration of the allow_unconfined_mmap_low boolean in SELinux on Red Hat Enterprise Linux (RHEL) 5, (2) an error that causes allow_unconfined_mmap_low to be ignored in the unconfined_t domain, (3) lack of a requirement for the CAP_SYS_RAWIO capability for these mmap operations, and (4) interaction between the mmap_min_addr protection mechanism and certain application programs.",
"severity" : [ ],
"affected" : [ ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-2695"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=511143"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=517830"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7144"
}, {
"type" : "WEB",
"url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9882"
}, {
"type" : "WEB",
"url" : "https://rhn.redhat.com/errata/RHSA-2009-1540.html"
}, {
"type" : "WEB",
"url" : "https://rhn.redhat.com/errata/RHSA-2009-1548.html"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2009-August/msg01256.html"
}, {
"type" : "WEB",
"url" : "http://danwalsh.livejournal.com/30084.html"
}, {
"type" : "WEB",
"url" : "http://eparis.livejournal.com/606.html"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=47d439e9fb8a81a90022cfa785bf1c36c4e2aff6"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=7c73875e7dda627040b12c19b01db634fa7f0fd1"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=84336d1a77ccd2c06a730ddd38e695c2324a7386"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=a2551df7ec568d87793d2eea4ca744e86318f205"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git;a=commit;h=47d439e9fb8a81a90022cfa785bf1c36c4e2aff6"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git;a=commit;h=7c73875e7dda627040b12c19b01db634fa7f0fd1"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git;a=commit;h=84336d1a77ccd2c06a730ddd38e695c2324a7386"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git;a=commit;h=a2551df7ec568d87793d2eea4ca744e86318f205"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1d9959734a1949ea4f2427bd2d8b21ede6b2441c"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=788084aba2ab7348257597496befcbccabdc98a3"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8cf948e744e0218af604c32edecde10006dc8e9e"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=9c0d90103c7e0eb6e638e5b649e9f6d8d9c1b4b3"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=ab5a91a8364c3d6fc617abc47cc81d162c01d90a"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1d9959734a1949ea4f2427bd2d8b21ede6b2441c"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=788084aba2ab7348257597496befcbccabdc98a3"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8cf948e744e0218af604c32edecde10006dc8e9e"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9c0d90103c7e0eb6e638e5b649e9f6d8d9c1b4b3"
}, {
"type" : "WEB",
"url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ab5a91a8364c3d6fc617abc47cc81d162c01d90a"
}, {
"type" : "WEB",
"url" : "http://kbase.redhat.com/faq/docs/DOC-18042"
}, {
"type" : "WEB",
"url" : "http://lists.vmware.com/pipermail/security-announce/2010/000082.html"
}, {
"type" : "WEB",
"url" : "http://patchwork.kernel.org/patch/36539"
}, {
"type" : "WEB",
"url" : "http://patchwork.kernel.org/patch/36540"
}, {
"type" : "WEB",
"url" : "http://patchwork.kernel.org/patch/36649"
}, {
"type" : "WEB",
"url" : "http://patchwork.kernel.org/patch/36650"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/36501"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/37105"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/38794"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/38834"
}, {
"type" : "WEB",
"url" : "http://thread.gmane.org/gmane.linux.kernel.lsm/9075"
}, {
"type" : "WEB",
"url" : "http://twitter.com/spendergrsec/statuses/3303390960"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2010/dsa-2005"
}, {
"type" : "WEB",
"url" : "http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc7"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2009/08/17/4"
}, {
"type" : "WEB",
"url" : "http://www.redhat.com/support/errata/RHSA-2009-1672.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/36051"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-852-1"
}, {
"type" : "WEB",
"url" : "http://www.vupen.com/english/advisories/2010/0528"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "HIGH",
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2009-08-28T15:30:00Z"
}
}