GHSA-3mq5-fq9h-gj7j: Duplicate Advisory Denial of Service Vulnerability

LOW
Published
Advisory Summary

GHSA-3mq5-fq9h-gj7j is a LOW denial of service vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves denial of service due to parser crash. Remediation is available in the latest vendor maintenance releases.

GHSA-3mq5-fq9h-gj7j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3mq5-fq9h-gj7j
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Duplicate Advisory
Package Ecosystem Maven
Published Date
Last Updated

How to Fix GHSA-3mq5-fq9h-gj7j

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

com.thoughtworks.xstream:xstream fixed: Latest secure release
<dependency>
    <groupId>com.thoughtworks.xstream</groupId>
    <artifactId>xstream</artifactId>
    <version>Latest secure release</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=com.thoughtworks.xstream

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-3mq5-fq9h-gj7j, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.thoughtworks.xstream

Analyze the terminal output to locate any version of Duplicate Advisory 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 -Dincludes=com.thoughtworks.xstream 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 Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of [GHSA-f8cc-g7j8-xxpm](https://github.com/advisories/GHSA-f8cc-g7j8-xxpm). This link is maintained to preserve external references. ## Original Description Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

GHSA-3mq5-fq9h-gj7j Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
com.thoughtworks.xstream:xstream
Maven
≤ 1.4.19

References

Frequently Asked Questions

What is GHSA-3mq5-fq9h-gj7j?
GHSA-3mq5-fq9h-gj7j is a security vulnerability in Duplicate Advisory involving Denial of Service due to parser crash under General Security Weakness.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: com.thoughtworks.xstream:xstream.
What version fixes GHSA-3mq5-fq9h-gj7j?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is xstream affected?
Yes, com.thoughtworks.xstream:xstream is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-3mq5-fq9h-gj7j?
GHSA-3mq5-fq9h-gj7j is classified under General Security Weakness.
How can I check Maven dependencies for GHSA-3mq5-fq9h-gj7j?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.thoughtworks.xstream'. 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-3mq5-fq9h-gj7j",
  "modified" : "2023-03-03T23:04:23Z",
  "published" : "2022-09-17T00:00:41Z",
  "withdrawn" : "2023-03-03T23:04:23Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Denial of Service due to parser crash",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of [GHSA-f8cc-g7j8-xxpm](https://github.com/advisories/GHSA-f8cc-g7j8-xxpm). This link is maintained to preserve external references.\n\n## Original Description\nThose using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.thoughtworks.xstream:xstream"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.4.19"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-40151"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/x-stream/xstream/issues/304"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/x-stream/xstream/issues/314"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47367"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/x-stream/xstream"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-20T21:21:26Z",
    "nvd_published_at" : "2022-09-16T10:15:00Z"
  }
}