github_osv/GHSA-g2c3-vwff-m3xr
Font-Converter Vulnerable to Arbitrary Command Injection
### Overview
font-converter is a FontForge wrapper that allows conversion between different font formats (TTF, WOFF, OTF)
All versions of this package are vulnerable to Arbitrary Command Injection due to missing sanitization of input that potentially flows into the `child_process.exec()` function.
### PoC
```js
var PUT = require('font-converter');
var x = "$(touch success);# ";
try {
new PUT(x, x, x, x);
} catch (e) {
console.log(e);
}
```
gitlab/npm/font-converter/CVE-2022-21165
Improper Neutralization of Special Elements used in a Command ('Command Injection')
All versions of package font-converter is vulnerable to Arbitrary Command Injection due to missing sanitization of input that potentially flows into the child_process.exec() function.