Downloads Resources over HTTP in apk-parserGHSA-5g4r-87v2-jqvx
GHSA-5g4r-87v2-jqvx is a CWE-311 vulnerability in apk-parser. A fix is available for apk-parser — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
apk-parsernpmDescription
apk-parser is a tool to extract Android Manifest info from an APK file.
apk-parser versions below 0.1.6 download binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested binary with an attacker controlled binary if the attacker is on the network or positioned in between the user and the remote server.
Recommendation
Update to version 0.1.6 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | apk-parser | all versions | 0.1.6npm install apk-parser@0.1.6 |
Affected Products
apk-parserapk-parser_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for apk-parser, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update apk-parser to 0.1.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-5g4r-87v2-jqvx is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-5g4r-87v2-jqvx in your dependencies?
Find it across npm, including transitive dependencies.