What’s Vulnerable › Vulnerabilities
CVE-2024-43373: webcrack has an Arbitrary File Write Vulnerability on Windows when Parsing and Saving a Malicious Bundle
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-08-15 · updated 2026-06-17
- Weakness: CWE-20
Description
webcrack is a tool for reverse engineering javascript. An arbitrary file write vulnerability exists in the webcrack module when processing specifically crafted malicious code on Windows systems. This vulnerability is triggered when using the unpack bundles feature in conjunction with the saving feature. If a module name includes a path traversal sequence with Windows path separators, an attacker can exploit this to overwrite files on the host system. This vulnerability allows an attacker to write arbitrary `.js` files to the host system, which can be leveraged to hijack legitimate Node.js modules to gain arbitrary code execution. This vulnerability has been patched in version 2.14.1.
Affected products
- j4k0xb webcrack: before 2.14.1 — fixed in 2.14.1
How to fix
Upgrade to a fixed version: j4k0xb webcrack 2.14.1. Check the vendor advisory for mitigations.
References
- https://github.com/j4k0xb/webcrack/blob/241f9469e6401f3dabc6373233d85a5e76966b54/packages/webcrack/src/unpack/bundle.ts#L79
- https://github.com/j4k0xb/webcrack/commit/4bc5c6f353012ee7edc2cb39d01a728ab7426999
- https://github.com/j4k0xb/webcrack/security/advisories/GHSA-ccqh-278p-xq6w
Get alerted when CVE-2024-43373 or the next vulnerability affects your stack