CVE-2011-5034: Geronimo Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-v3h8-rw48-h4gr
CWE-400
Published
Advisory Summary

CVE-2011-5034 is a HIGH denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Geronimo libraries in the Maven ecosystem. The issue involves apache geronimo hash collisions cause dos. Remediation is available by upgrading affected packages to version 2.2.1.

CVE-2011-5034 at a Glance

CVE Identifier CVE-2011-5034
GHSA Identifier GHSA-v3h8-rw48-h4gr
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Geronimo
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2011-5034

To remediate this vulnerability, upgrade all affected Geronimo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.geronimo:geronimo fixed: 2.2.1
<dependency>
    <groupId>org.apache.geronimo</groupId>
    <artifactId>geronimo</artifactId>
    <version>2.2.1</version>
</dependency>
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 -Dincludes=org.apache.geronimo

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2011-5034, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.geronimo

Analyze the terminal output to locate any version of Geronimo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.geronimo 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Geronimo, 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

Apache Geronimo 2.2.1 and earlier computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted parameters. NOTE: this might overlap CVE-2011-4461.

CVE-2011-5034 Affected Geronimo Versions

1 component(s)
Fixed Versions:
2.2.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.geronimo:geronimo
Maven
< 2.2.1
2.2.1

References

NVD — CVE-2011-5034 NVD
https://nvd.nist.gov/vuln/detail/CVE-2011-5034
Geronimo Source Repository REPOSITORY
https://github.com/FireFart/HashCollision-DOS-POC/blob/master/HashtablePOC.py
Geronimo Source Repository REPOSITORY
https://github.com/apache/geronimo
lists.apache.org/thread.html/r20957a... WEB
https://lists.apache.org/thread.html/r20957aa5962a48328f199e2373f408aeeae601a45dd5275a195e2b6e@%3Cjava-dev.axis.apache.org%3E
lists.apache.org/thread.html/r360b70... WEB
https://lists.apache.org/thread.html/r360b70489bad65286b49ceb5303a849d2a7ec7d1292774a7259579e1@%3Cissues.karaf.apache.org%3E
lists.apache.org/thread.html/r3c541f... WEB
https://lists.apache.org/thread.html/r3c541f019b74902e8e61d73e40ecc2837dfce1b744ad5546919b993c@%3Cissues.karaf.apache.org%3E
lists.apache.org/thread.html/r4fe6b5... WEB
https://lists.apache.org/thread.html/r4fe6b5ff1d48e23337304fd5ac983d89328aecbd1fa198cfc966fbd7@%3Cdev.geronimo.apache.org%3E
lists.apache.org/thread.html/r653f63... WEB
https://lists.apache.org/thread.html/r653f633aa7b6ccbb8c338dbfcea7a00e4ae9d6f3e064a03cab8dc20d@%3Cjava-dev.axis.apache.org%3E
lists.apache.org/thread.html/r67747a... WEB
https://lists.apache.org/thread.html/r67747af92035942c9c413bd8394acbb8a1ace5833c0177014c825bc2@%3Cissues.karaf.apache.org%3E
lists.apache.org/thread.html/r8dc1a0... WEB
https://lists.apache.org/thread.html/r8dc1a0ae0e0cf9d2494b8cbd66562f99331c4cf635e7781850a9b9ba@%3Cjava-dev.axis.apache.org%3E
lists.apache.org/thread.html/ra10015... WEB
https://lists.apache.org/thread.html/ra10015f6f3c3c88b7d813383554e87c06347fe163487148669189b8e@%3Cdev.geronimo.apache.org%3E
lists.apache.org/thread.html/ra1fe29... WEB
https://lists.apache.org/thread.html/ra1fe29f6399b68980f914d8613dee7f67d62a1a97722fe9cd56f4f5f@%3Cdev.geronimo.apache.org%3E
lists.apache.org/thread.html/rb0e852... WEB
https://lists.apache.org/thread.html/rb0e85243d7268f1d7a1edb5e6c7df885dbd300acabaaf4cb0e880518@%3Cissues.karaf.apache.org%3E
lists.apache.org/thread.html/rdd67ea... WEB
https://lists.apache.org/thread.html/rdd67ea3e489134f653349fc2cb09828ac8462aa61dd776b505a3297a@%3Cissues.karaf.apache.org%3E
web.archive.org/web/20120105151644/... WEB
https://web.archive.org/web/20120105151644/http://www.nruns.com/_downloads/advisory28122011.pdf
web.archive.org/web/20130213132312/... WEB
https://web.archive.org/web/20130213132312/http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html
www.kb.cert.org/vuls/id/903934 WEB
http://www.kb.cert.org/vuls/id/903934
www.ocert.org/advisories/ocert-20... WEB
http://www.ocert.org/advisories/ocert-2011-003.html

Frequently Asked Questions

What is CVE-2011-5034?
CVE-2011-5034 is a security vulnerability in Geronimo involving Apache Geronimo Hash Collisions Cause DoS under CWE-400: Uncontrolled Resource Consumption.
Which Geronimo versions are affected?
Affected versions include releases prior to 2.2.1 across affected packages: org.apache.geronimo:geronimo.
What version fixes CVE-2011-5034?
Upgrading to 2.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is geronimo affected?
Yes, org.apache.geronimo:geronimo is affected in releases prior to 2.2.1. Upgrade your dependency to 2.2.1 or later.
What CWE is associated with CVE-2011-5034?
CVE-2011-5034 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2011-5034?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.geronimo'. 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-v3h8-rw48-h4gr",
  "modified" : "2024-01-15T19:14:56Z",
  "published" : "2022-05-13T01:07:39Z",
  "aliases" : [ "CVE-2011-5034" ],
  "summary" : "Apache Geronimo Hash Collisions Cause DoS",
  "details" : "Apache Geronimo 2.2.1 and earlier computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted parameters.  NOTE: this might overlap CVE-2011-4461.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.geronimo:geronimo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-5034"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FireFart/HashCollision-DOS-POC/blob/master/HashtablePOC.py"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/geronimo"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r20957aa5962a48328f199e2373f408aeeae601a45dd5275a195e2b6e@%3Cjava-dev.axis.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r360b70489bad65286b49ceb5303a849d2a7ec7d1292774a7259579e1@%3Cissues.karaf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r3c541f019b74902e8e61d73e40ecc2837dfce1b744ad5546919b993c@%3Cissues.karaf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r4fe6b5ff1d48e23337304fd5ac983d89328aecbd1fa198cfc966fbd7@%3Cdev.geronimo.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r653f633aa7b6ccbb8c338dbfcea7a00e4ae9d6f3e064a03cab8dc20d@%3Cjava-dev.axis.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r67747af92035942c9c413bd8394acbb8a1ace5833c0177014c825bc2@%3Cissues.karaf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r8dc1a0ae0e0cf9d2494b8cbd66562f99331c4cf635e7781850a9b9ba@%3Cjava-dev.axis.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/ra10015f6f3c3c88b7d813383554e87c06347fe163487148669189b8e@%3Cdev.geronimo.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/ra1fe29f6399b68980f914d8613dee7f67d62a1a97722fe9cd56f4f5f@%3Cdev.geronimo.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rb0e85243d7268f1d7a1edb5e6c7df885dbd300acabaaf4cb0e880518@%3Cissues.karaf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rdd67ea3e489134f653349fc2cb09828ac8462aa61dd776b505a3297a@%3Cissues.karaf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20120105151644/http://www.nruns.com/_downloads/advisory28122011.pdf"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20130213132312/http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.kb.cert.org/vuls/id/903934"
  }, {
    "type" : "WEB",
    "url" : "http://www.ocert.org/advisories/ocert-2011-003.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-15T19:14:56Z",
    "nvd_published_at" : "2011-12-30T01:55:00Z"
  }
}