CVE-2022-39259: Jadx plugins api Denial of Service Vulnerability
MODERATECVE-2022-39259 is a MODERATE (CVSS 5.5) denial of service vulnerability (General Security Weakness) affecting Jadx plugins api libraries in the Maven ecosystem. The issue involves jadx-gui vulnerable to swing html denial of service (dos) attack. Remediation is available by upgrading affected packages to version 1.4.5.
CVE-2022-39259 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2022-39259
To remediate this vulnerability, upgrade all affected Jadx plugins api 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>io.github.skylot</groupId>
<artifactId>jadx-plugins-api</artifactId>
<version>1.4.5</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.github.skylot
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-39259, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.github.skylot
Analyze the terminal output to locate any version of Jadx plugins api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.github.skylot 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 Jadx plugins api, 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
CVE-2022-39259 Affected Jadx plugins api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.github.skylot:jadx-plugins-api
|
Maven |
< 1.4.5
|
1.4.5
|
References
Frequently Asked Questions
What is CVE-2022-39259?
Which Jadx plugins api versions are affected?
What version fixes CVE-2022-39259?
Is jadx-plugins-api affected?
What is the CVSS score of CVE-2022-39259?
What CWE is associated with CVE-2022-39259?
How can I check Maven dependencies for CVE-2022-39259?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3r7j-8mqh-6qhx",
"modified" : "2022-10-25T20:37:53Z",
"published" : "2022-10-20T18:20:28Z",
"aliases" : [ "CVE-2022-39259" ],
"summary" : "Jadx-gui vulnerable to swing HTML Denial of Service (DoS) attack",
"details" : "### Impact\nUsing jadx-gui to open a special zip file with entry containing HTML sequence like `<html><frame>` will cause interface to get stuck and throw exceptions like:\n```\njava.lang.RuntimeException: Can't build aframeset, BranchElement(frameset) 1,3\n:no ROWS or COLS defined.\n\tat java.desktop/javax.swing.text.html.HTMLEditorKit$HTMLFactory.create(HTMLEditorKit.java:1387)\n\tat java.desktop/javax.swing.plaf.basic.BasicHTML$BasicHTMLViewFactory.create(BasicHTML.java:379)\n\tat java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112)\n```\n\n### References\nhttps://www.oracle.com/java/technologies/javase/seccodeguide.html\n\nGuideline 3-7 / INJECT-7: Disable HTML display in Swing components:\n\nMany Swing pluggable look-and-feels interpret text in certain components starting with <html> as HTML. If the text is from an untrusted source, an adversary may craft the HTML such that other components appear to be present or to perform inclusion attacks.\n\nTo disable the HTML render feature, set the \"html.disable\" client property of each component to Boolean.TRUE (no other Boolean true instance will do).\n```java\nlabel.putClientProperty(\"html.disable\", true);\n```\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.github.skylot:jadx-plugins-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.4.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.4.4"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/skylot/jadx/security/advisories/GHSA-3r7j-8mqh-6qhx"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-39259"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/skylot/jadx"
}, {
"type" : "WEB",
"url" : "https://github.com/skylot/jadx/releases/tag/v1.4.5"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/java/technologies/javase/seccodeguide.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-20T18:20:28Z",
"nvd_published_at" : "2022-10-21T23:15:00Z"
}
}