CVE-2004-0077: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-pm7j-3492-hq9m
Published
Advisory Summary

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

CVE-2004-0077 at a Glance

CVE Identifier CVE-2004-0077
GHSA Identifier GHSA-pm7j-3492-hq9m
Severity HIGH
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-0077

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-0077, 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_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do_munmap function when the maximum number of VMA descriptors is exceeded, which allows local users to gain root privileges, a different vulnerability than CAN-2003-0985.

References

NVD — CVE-2004-0077 NVD
https://nvd.nist.gov/vuln/detail/CVE-2004-0077
exchange.xforce.ibmcloud.com/vulnerabilities/152... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/15244
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A825
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A837
archives.neohapsis.com/archives/vulnwatch/... WEB
http://archives.neohapsis.com/archives/vulnwatch/2004-q1/0040.html
distro.conectiva.com.br/atualizacoes/ WEB
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000820
fedoranews.org/updates/fedora-2004... WEB
http://fedoranews.org/updates/FEDORA-2004-079.shtml
Software Security Information SECURITY
http://frontal2.mandriva.com/security/advisories?name=MDKSA-2004:015
isec.pl/vulnerabilities/ise... WEB
http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt
marc.info/ WEB
http://marc.info/?l=bugtraq&m=107711762014175&w=2
marc.info/ WEB
http://marc.info/?l=bugtraq&m=107712137732553&w=2
marc.info/ WEB
http://marc.info/?l=bugtraq&m=107755871932680&w=2
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200403-02.xml
www.ciac.org/ciac/bulletins/o-08... WEB
http://www.ciac.org/ciac/bulletins/o-082.shtml
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-438
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-439
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-440
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-441
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-442
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-444
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-450
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-453
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-454
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-456
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-466
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-470
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-475
Software Security Information SECURITY
http://www.debian.org/security/2004/dsa-514
www.kb.cert.org/vuls/id/981222 WEB
http://www.kb.cert.org/vuls/id/981222
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2004_05_linux_kernel.html
www.osvdb.org/3986 WEB
http://www.osvdb.org/3986
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2004-065.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2004-066.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2004-069.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2004-106.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/9686
Software Security Information SECURITY
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.404734

Frequently Asked Questions

What is CVE-2004-0077?
CVE-2004-0077 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-0077?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2004-0077?
CVE-2004-0077 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2004-0077?
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-pm7j-3492-hq9m",
  "modified" : "2022-04-29T02:57:08Z",
  "published" : "2022-04-29T02:57:08Z",
  "aliases" : [ "CVE-2004-0077" ],
  "details" : "The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do_munmap function when the maximum number of VMA descriptors is exceeded, which allows local users to gain root privileges, a different vulnerability than CAN-2003-0985.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2004-0077"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/15244"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A825"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A837"
  }, {
    "type" : "WEB",
    "url" : "http://archives.neohapsis.com/archives/vulnwatch/2004-q1/0040.html"
  }, {
    "type" : "WEB",
    "url" : "http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000820"
  }, {
    "type" : "WEB",
    "url" : "http://fedoranews.org/updates/FEDORA-2004-079.shtml"
  }, {
    "type" : "WEB",
    "url" : "http://frontal2.mandriva.com/security/advisories?name=MDKSA-2004:015"
  }, {
    "type" : "WEB",
    "url" : "http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=107711762014175&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=107712137732553&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=107755871932680&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200403-02.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.ciac.org/ciac/bulletins/o-082.shtml"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-438"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-439"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-440"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-441"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-442"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-444"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-450"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-453"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-454"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-456"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-466"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-470"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-475"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2004/dsa-514"
  }, {
    "type" : "WEB",
    "url" : "http://www.kb.cert.org/vuls/id/981222"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2004_05_linux_kernel.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/3986"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2004-065.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2004-066.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2004-069.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2004-106.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/9686"
  }, {
    "type" : "WEB",
    "url" : "http://www.slackware.com/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.404734"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2004-03-03T05:00:00Z"
  }
}