CVE-2009-0031: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-j9fq-r999-p9w7
Published
Advisory Summary

CVE-2009-0031 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-2009-0031 at a Glance

CVE Identifier CVE-2009-0031
GHSA Identifier GHSA-j9fq-r999-p9w7
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-2009-0031

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-0031, 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

Memory leak in the keyctl_join_session_keyring function (security/keys/keyctl.c) in Linux kernel 2.6.29-rc2 and earlier allows local users to cause a denial of service (kernel memory consumption) via unknown vectors related to a "missing kfree."

References

NVD — CVE-2009-0031 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-0031
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11386
git2.kernel.org/ WEB
http://git2.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=0d54ee1c7850a954026deec4cd4885f331da35cc
git2.kernel.org/ WEB
http://git2.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0d54ee1c7850a954026deec4cd4885f331da35cc
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00003.html
osvdb.org/51501 WEB
http://osvdb.org/51501
rhn.redhat.com/errata/rhsa-2009-02... WEB
http://rhn.redhat.com/errata/RHSA-2009-0264.html
secunia.com/advisories/33858 WEB
http://secunia.com/advisories/33858
secunia.com/advisories/34252 WEB
http://secunia.com/advisories/34252
secunia.com/advisories/34394 WEB
http://secunia.com/advisories/34394
secunia.com/advisories/34502 WEB
http://secunia.com/advisories/34502
secunia.com/advisories/34762 WEB
http://secunia.com/advisories/34762
secunia.com/advisories/34981 WEB
http://secunia.com/advisories/34981
secunia.com/advisories/35011 WEB
http://secunia.com/advisories/35011
Software Security Information SECURITY
http://support.avaya.com/elmodocs2/security/ASA-2009-114.htm
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1749
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1787
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1794
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2009/01/19/4
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-0331.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-0360.html
www.ubuntu.com/usn/usn-751-1 WEB
http://www.ubuntu.com/usn/usn-751-1

Frequently Asked Questions

What is CVE-2009-0031?
CVE-2009-0031 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-2009-0031?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-0031?
CVE-2009-0031 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2009-0031?
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-j9fq-r999-p9w7",
  "modified" : "2022-05-02T03:12:30Z",
  "published" : "2022-05-02T03:12:30Z",
  "aliases" : [ "CVE-2009-0031" ],
  "details" : "Memory leak in the keyctl_join_session_keyring function (security/keys/keyctl.c) in Linux kernel 2.6.29-rc2 and earlier allows local users to cause a denial of service (kernel memory consumption) via unknown vectors related to a \"missing kfree.\"",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-0031"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11386"
  }, {
    "type" : "WEB",
    "url" : "http://git2.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=0d54ee1c7850a954026deec4cd4885f331da35cc"
  }, {
    "type" : "WEB",
    "url" : "http://git2.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0d54ee1c7850a954026deec4cd4885f331da35cc"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/51501"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2009-0264.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33858"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34252"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34394"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34502"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34762"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34981"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35011"
  }, {
    "type" : "WEB",
    "url" : "http://support.avaya.com/elmodocs2/security/ASA-2009-114.htm"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1749"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1787"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1794"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/01/19/4"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-0331.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-0360.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-751-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-01-21T02:30:00Z"
  }
}