CVE-2024-43373
HIGH 7.8CVSS 3.1webcrack has an Arbitrary File Write Vulnerability on Windows when Parsing and Saving a Malicious Bundle
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.
- Published
- 15 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-22
- Also known as
- GHSA-ccqh-278p-xq6w
- Sources
- NVDJSONOSV GHSA-ccqh-278p-xq6wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:L | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | j4k0xb | webcrackcpe:2.3:a:j4k0xb:webcrack:*:*:*:*:*:node.js:*:* |
< 2.14.1 | 2.14.1 |
| OSV | npm | webcrack | < 2.14.1 | 2.14.1 |
References
- https://github.com/j4k0xb/webcrack/blob/241f9469e6401f3dabc6373233d85a5e76966b54/packages/webcrack/src/unpack/bundle.ts#L79 · Product, WEB
- https://github.com/j4k0xb/webcrack/commit/4bc5c6f353012ee7edc2cb39d01a728ab7426999 · Patch, WEB
- https://github.com/j4k0xb/webcrack/security/advisories/GHSA-ccqh-278p-xq6w · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43373 · ADVISORY
- https://github.com/j4k0xb/webcrack · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Aug 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Aug 2024)