CVE-2005-3181: Software Security Vulnerability Vulnerability

LOW
Advisory Identifier: GHSA-433r-f7hr-hvfv
CWE-401
Published
Advisory Summary

CVE-2005-3181 is a LOW security vulnerability vulnerability (CWE-401: Missing Release of Memory after Effective Lifetime) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.. Remediation is available in the latest vendor maintenance releases.

CVE-2005-3181 at a Glance

CVE Identifier CVE-2005-3181
GHSA Identifier GHSA-433r-f7hr-hvfv
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-401: Missing Release of Memory after Effective Lifetime
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2005-3181

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-2005-3181, 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-401: Missing Release of Memory after Effective Lifetime, where the product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. 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 audit system in Linux kernel 2.6.6, and other versions before 2.6.13.4, when CONFIG_AUDITSYSCALL is enabled, uses an incorrect function to free names_cache memory, which prevents the memory from being tracked by AUDITSYSCALL code and leads to a memory leak that allows attackers to cause a denial of service (memory consumption).

References

NVD — CVE-2005-3181 NVD
https://nvd.nist.gov/vuln/detail/CVE-2005-3181
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9467
kernel.org/git/ WEB
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=829841146878e082613a49581ae252c071057c23
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/427980/100/0/threaded
kernel.org/git/ WEB
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=829841146878e082613a49581ae252c071057c23
linux.bkbits.net/linux-2.6/cset@4346... WEB
http://linux.bkbits.net:8080/linux-2.6/cset%404346883bQBeBd26syWTKX2CVC5bDcA
linux.bkbits.net/linux-2.6/cset@4346... WEB
http://linux.bkbits.net:8080/linux-2.6/cset@4346883bQBeBd26syWTKX2CVC5bDcA
secunia.com/advisories/17114 WEB
http://secunia.com/advisories/17114
secunia.com/advisories/17280 WEB
http://secunia.com/advisories/17280
secunia.com/advisories/17364 WEB
http://secunia.com/advisories/17364
secunia.com/advisories/17826 WEB
http://secunia.com/advisories/17826
secunia.com/advisories/17917 WEB
http://secunia.com/advisories/17917
secunia.com/advisories/19374 WEB
http://secunia.com/advisories/19374
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1017
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2005:218
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2005:219
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2005:220
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2005:235
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2005-808.html
Software Security Information SECURITY
http://www.securityfocus.com/advisories/9549
Software Security Information SECURITY
http://www.securityfocus.com/advisories/9806
Software Security Information SECURITY
http://www.securityfocus.com/bid/15076
www.ubuntu.com/usn/usn-199-1 WEB
http://www.ubuntu.com/usn/usn-199-1

Frequently Asked Questions

What is CVE-2005-3181?
CVE-2005-3181 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-401: Missing Release of Memory after Effective Lifetime.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2005-3181?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2005-3181?
CVE-2005-3181 is classified under CWE-401: Missing Release of Memory after Effective Lifetime (The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.).
How can I check Maven dependencies for CVE-2005-3181?
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-433r-f7hr-hvfv",
  "modified" : "2022-05-01T02:15:22Z",
  "published" : "2022-05-01T02:15:22Z",
  "aliases" : [ "CVE-2005-3181" ],
  "details" : "The audit system in Linux kernel 2.6.6, and other versions before 2.6.13.4, when CONFIG_AUDITSYSCALL is enabled, uses an incorrect function to free names_cache memory, which prevents the memory from being tracked by AUDITSYSCALL code and leads to a memory leak that allows attackers to cause a denial of service (memory consumption).",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2005-3181"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9467"
  }, {
    "type" : "WEB",
    "url" : "http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=829841146878e082613a49581ae252c071057c23"
  }, {
    "type" : "WEB",
    "url" : "http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=829841146878e082613a49581ae252c071057c23"
  }, {
    "type" : "WEB",
    "url" : "http://linux.bkbits.net:8080/linux-2.6/cset%404346883bQBeBd26syWTKX2CVC5bDcA"
  }, {
    "type" : "WEB",
    "url" : "http://linux.bkbits.net:8080/linux-2.6/cset@4346883bQBeBd26syWTKX2CVC5bDcA"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17114"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17280"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17364"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17826"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17917"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/19374"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1017"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:218"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:219"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:220"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:235"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2005-808.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/advisories/9549"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/advisories/9806"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/427980/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/15076"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-199-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-401" ],
    "severity" : "LOW",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2005-10-12T13:04:00Z"
  }
}