Vulnerabilities in pkg:maven/org.apache.geronimo.framework/geronimo-jmx-remoting

PACKAGE
Advisory Identifier: GHSA-v64w-96p6-fx7w
Advisory Summary

CVE-2013-1777 is a HIGH remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Geronimo jmx remoting libraries in the Maven ecosystem. The issue involves apache geronimo jmx remoting functionality allows remote code execution in 3.x before v3.0.1. Remediation is available by upgrading affected packages to version 3.0.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.geronimo.framework/geronimo-jmx-remoting

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.geronimo.framework/geronimo-jmx-remoting. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-v64w-96p6-fx7w CVE-2013-1777 HIGH Apache Geronimo JMX Remoting functionality allows remote code execution in 3.x before v3.0.1

CVE-2013-1777 at a Glance

CVE Identifier CVE-2013-1777
GHSA Identifier GHSA-v64w-96p6-fx7w
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Geronimo jmx remoting
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2013-1777

To remediate this vulnerability, upgrade all affected Geronimo jmx remoting 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.framework:geronimo-jmx-remoting fixed: 3.0.1
<dependency>
    <groupId>org.apache.geronimo.framework</groupId>
    <artifactId>geronimo-jmx-remoting</artifactId>
    <version>3.0.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.framework

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.geronimo.framework 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Geronimo jmx remoting, 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 JMX Remoting functionality in Apache Geronimo 3.x before 3.0.1, as used in IBM WebSphere Application Server (WAS) Community Edition 3.0.0.3 and other products, does not properly implement the RMI classloader, which allows remote attackers to execute arbitrary code by using the JMX connector to send a crafted serialized object.

CVE-2013-1777 Affected Geronimo jmx remoting Versions

1 component(s)
Fixed Versions:
3.0.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.geronimo.framework:geronimo-jmx-remoting
Maven
≥ 3.0-beta-1
< 3.0.1
3.0.1

References

Frequently Asked Questions

What is CVE-2013-1777?
CVE-2013-1777 is a security vulnerability in Geronimo jmx remoting involving Apache Geronimo JMX Remoting functionality allows remote code execution in 3.x before v3.0.1 under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Geronimo jmx remoting versions are affected?
Affected versions include releases prior to 3.0.1 across affected packages: org.apache.geronimo.framework:geronimo-jmx-remoting.
What version fixes CVE-2013-1777?
Upgrading to 3.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is geronimo-jmx-remoting affected?
Yes, org.apache.geronimo.framework:geronimo-jmx-remoting is affected in releases prior to 3.0.1. Upgrade your dependency to 3.0.1 or later.
What CWE is associated with CVE-2013-1777?
CVE-2013-1777 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Maven dependencies for CVE-2013-1777?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.geronimo.framework'. 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-v64w-96p6-fx7w",
  "modified" : "2024-03-05T18:31:42Z",
  "published" : "2022-05-17T04:48:11Z",
  "aliases" : [ "CVE-2013-1777" ],
  "summary" : "Apache Geronimo JMX Remoting functionality allows remote code execution in 3.x before v3.0.1",
  "details" : "The JMX Remoting functionality in Apache Geronimo 3.x before 3.0.1, as used in IBM WebSphere Application Server (WAS) Community Edition 3.0.0.3 and other products, does not properly implement the RMI classloader, which allows remote attackers to execute arbitrary code by using the JMX connector to send a crafted serialized object.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.geronimo.framework:geronimo-jmx-remoting"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0-beta-1"
      }, {
        "fixed" : "3.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-1777"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/geronimo/commit/ee031c5e62b0d358250d06c2aa6722518579a6c5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/geronimo"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/GERONIMO-6477"
  }, {
    "type" : "WEB",
    "url" : "http://archives.neohapsis.com/archives/bugtraq/2013-07/0008.html"
  }, {
    "type" : "WEB",
    "url" : "http://geronimo.apache.org/30x-security-report.html"
  }, {
    "type" : "WEB",
    "url" : "http://svn.apache.org/viewvc/geronimo/server/trunk"
  }, {
    "type" : "WEB",
    "url" : "http://svn.apache.org/viewvc?view=revision&revision=1458113"
  }, {
    "type" : "WEB",
    "url" : "http://www-01.ibm.com/support/docview.wss?uid=swg21643282"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-27T21:38:21Z",
    "nvd_published_at" : "2013-07-11T22:55:00Z"
  }
}