@offactory/compress-fonts before 1.1.1 OS Command Injection via Font File Names
adamarcanov compress-fonts
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| adamarcanov compress-fonts |
| No fix yet |
Original description
@offactory/compress-fonts before 1.1.1 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying font files with crafted names. Font paths are interpolated unquoted into a FontForge command run through child_process.execSync, so shell metacharacters in file names execute commands with the Node.js process privileges.
From the CVE record · VulnCheck