CVE-2024-48336: Android Unsafe Create Package Context
The app dynamically loads code from another package using `createPackageContext` with `CONTEXT_IGNORE_SECURITY` without checking if the target package is a verified system application. This allows local privilege escalation via package squatting, enabling untrusted code execution. Verify the package against `ApplicationInfo.FLAG_SYSTEM` or properly check its
greprules fetch cve-2024-48336-android-unsafe-create-package-context --engine opengrepDescription
The app dynamically loads code from another package using `createPackageContext` with `CONTEXT_IGNORE_SECURITY` without checking if the target package is a verified system application. This allows local privilege escalation via package squatting, enabling untrusted code execution. Verify the package against `ApplicationInfo.FLAG_SYSTEM` or properly check its
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.