Description
jadx is a Dex to Java decompiler. Prior to 1.5.6, jadx inserts the android:versionName value from an AndroidManifest into the generated app/build.gradle Groovy template without proper sanitization when exporting a decompiled APK as an Android Gradle project. A malicious APK can break out of the string context so that opening or building the exported Gradle project executes attacker-controlled Groovy code on the victim machine. This issue is fixed in version 1.5.6.
Problem types
CWE-94: Improper Control of Generation of Code ('Code Injection')
Product status
References
github.com/...t/jadx/security/advisories/GHSA-w6f5-h4x4-rfpj
github.com/...ommit/5a6e660b4663d998d52c7dc4511299f3368ef611
github.com/skylot/jadx/releases/tag/v1.5.6