Zuke
Zuke: Argument injection on Windows: batch shims are launched through cmd.exe, which re-parses the command line
Zuke is a code-first, strongly typed build automation system for Deno. Prior to 1.51.0, @zuke/core launches resolved Windows .cmd and .bat shims by prepending cmd /c, causing cmd.exe to reparse a command line assembled with C-runtime quoting rules. A build running on Windows that resolves a tool from node_modules/.bin and passes attacker-influenced text containing an unquoted &, |, or ^ metacharacter can execute an additional attacker-chosen command in the build's context with access to its credentials. POSIX platforms are not affected. This issue is fixed in version 1.51.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.51.0
Fixed in 1.51.0
Mitigation
Upgrade zuke to 1.51.0 or later.
References
- Vendor advisory github.com/zuke-build/zuke/security/advisories…
- Patch github.com/zuke-build/zuke/pull/542
- Patch github.com/zuke-build/zuke/commit/4257b0bc5ef5…
1 more
- Release notes github.com/zuke-build/zuke/releases/tag/core-v…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.