GHSA-3mq5-fq9h-gj7j: Duplicate Advisory Denial of Service Vulnerability
LOWGHSA-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
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.
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>Latest secure release</version>
</dependency>
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
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?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-3mq5-fq9h-gj7j?
Is xstream affected?
What CWE is associated with GHSA-3mq5-fq9h-gj7j?
How can I check Maven dependencies for GHSA-3mq5-fq9h-gj7j?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}