Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-3r7j-8mqh-6qhx

Опубликовано: 20 окт. 2022
Источник: github
Github: Прошло ревью
CVSS3: 5.5

Описание

Jadx-gui vulnerable to swing HTML Denial of Service (DoS) attack

Impact

Using 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:

java.lang.RuntimeException: Can't build aframeset, BranchElement(frameset) 1,3 :no ROWS or COLS defined. at java.desktop/javax.swing.text.html.HTMLEditorKit$HTMLFactory.create(HTMLEditorKit.java:1387) at java.desktop/javax.swing.plaf.basic.BasicHTML$BasicHTMLViewFactory.create(BasicHTML.java:379) at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112)

References

https://www.oracle.com/java/technologies/javase/seccodeguide.html

Guideline 3-7 / INJECT-7: Disable HTML display in Swing components:

Many Swing pluggable look-and-feels interpret text in certain components starting with 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.

To disable the HTML render feature, set the "html.disable" client property of each component to Boolean.TRUE (no other Boolean true instance will do).

label.putClientProperty("html.disable", true);

Пакеты

Наименование

io.github.skylot:jadx-plugins-api

maven
Затронутые версииВерсия исправления

<= 1.4.4

1.4.5

EPSS

Процентиль: 17%
0.00055
Низкий

5.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 3.3
nvd
больше 3 лет назад

jadx is a set of command line and GUI tools for producing Java source code from Android Dex and Apk files. versions prior to 1.4.5 are subject to a Denial of Service when opening zip files with HTML sequences. This issue has been patched in version 1.4.5. There are no known workarounds.

EPSS

Процентиль: 17%
0.00055
Низкий

5.5 Medium

CVSS3