CVE-2004-0427: Software Security Vulnerability Vulnerability

LOW
Advisory Identifier: GHSA-6336-xxrx-mvmh
Published
Advisory Summary

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

CVE-2004-0427 at a Glance

CVE Identifier CVE-2004-0427
GHSA Identifier GHSA-6336-xxrx-mvmh
Severity LOW
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-2004-0427

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-2004-0427, 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 do_fork function in Linux 2.4.x before 2.4.26, and 2.6.x before 2.6.6, does not properly decrement the mm_count counter when an error occurs after the mm_struct for a child process has been activated, which triggers a memory leak that allows local users to cause a denial of service (memory exhaustion) via the clone (CLONE_VM) system call.

References

NVD — CVE-2004-0427 NVD
https://nvd.nist.gov/vuln/detail/CVE-2004-0427
exchange.xforce.ibmcloud.com/vulnerabilities/160... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/16002
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10297
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2819
distro.conectiva.com.br/atualizacoes/ WEB
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000846
fedoranews.org/updates/fedora-2004... WEB
http://fedoranews.org/updates/FEDORA-2004-111.shtml
linux.bkbits.net/linux-2.4/cset@407b... WEB
http://linux.bkbits.net:8080/linux-2.4/cset@407bf20eDeeejm8t36_tpvSE-8EFHA
linux.bkbits.net/linux-2.6/cset@407b... WEB
http://linux.bkbits.net:8080/linux-2.6/cset@407b1217x4jtqEkpFW2g_-RcF0726A
marc.info/ WEB
http://marc.info/?l=linux-kernel&m=108139073506983&w=2
secunia.com/advisories/11429 WEB
http://secunia.com/advisories/11429
secunia.com/advisories/11464 WEB
http://secunia.com/advisories/11464
secunia.com/advisories/11486 WEB
http://secunia.com/advisories/11486
secunia.com/advisories/11541 WEB
http://secunia.com/advisories/11541
secunia.com/advisories/11861 WEB
http://secunia.com/advisories/11861
secunia.com/advisories/11891 WEB
http://secunia.com/advisories/11891
secunia.com/advisories/11892 WEB
http://secunia.com/advisories/11892
secunia.com/advisories/20162 WEB
http://secunia.com/advisories/20162
secunia.com/advisories/20163 WEB
http://secunia.com/advisories/20163
secunia.com/advisories/20202 WEB
http://secunia.com/advisories/20202
secunia.com/advisories/20338 WEB
http://secunia.com/advisories/20338
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200407-02.xml
www.ciac.org/ciac/bulletins/o-16... WEB
http://www.ciac.org/ciac/bulletins/o-164.shtml
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1067
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1069
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1070
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1082
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2004:037
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2004_10_kernel.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2004-255.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2004-260.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2004-327.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/10221
Software Security Information SECURITY
http://www.turbolinux.com/security/2004/TLSA-2004-14.txt

Frequently Asked Questions

What is CVE-2004-0427?
CVE-2004-0427 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-2004-0427?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2004-0427?
CVE-2004-0427 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2004-0427?
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-6336-xxrx-mvmh",
  "modified" : "2022-05-03T03:13:02Z",
  "published" : "2022-05-03T03:13:02Z",
  "aliases" : [ "CVE-2004-0427" ],
  "details" : "The do_fork function in Linux 2.4.x before 2.4.26, and 2.6.x before 2.6.6, does not properly decrement the mm_count counter when an error occurs after the mm_struct for a child process has been activated, which triggers a memory leak that allows local users to cause a denial of service (memory exhaustion) via the clone (CLONE_VM) system call.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2004-0427"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/16002"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10297"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2819"
  }, {
    "type" : "WEB",
    "url" : "http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000846"
  }, {
    "type" : "WEB",
    "url" : "http://fedoranews.org/updates/FEDORA-2004-111.shtml"
  }, {
    "type" : "WEB",
    "url" : "http://linux.bkbits.net:8080/linux-2.4/cset@407bf20eDeeejm8t36_tpvSE-8EFHA"
  }, {
    "type" : "WEB",
    "url" : "http://linux.bkbits.net:8080/linux-2.6/cset@407b1217x4jtqEkpFW2g_-RcF0726A"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=linux-kernel&m=108139073506983&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/11429"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/11464"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/11486"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/11541"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/11861"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/11891"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/11892"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20162"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20163"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20202"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20338"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200407-02.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.ciac.org/ciac/bulletins/o-164.shtml"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1067"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1069"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1070"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1082"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2004:037"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2004_10_kernel.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2004-255.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2004-260.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2004-327.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/10221"
  }, {
    "type" : "WEB",
    "url" : "http://www.turbolinux.com/security/2004/TLSA-2004-14.txt"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2004-07-07T04:00:00Z"
  }
}