CVE-2022-21165
CRITICAL 9.8CVSS 3.1Font-Converter Vulnerable to Arbitrary Command Injection
All versions of package font-converter are vulnerable to Arbitrary Command Injection due to missing sanitization of input that potentially flows into the child_process.exec() function.
- Published
- 29 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-g2c3-vwff-m3xr
- Sources
- NVDJSONOSV GHSA-g2c3-vwff-m3xrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | font_converter_project | font_convertercpe:2.3:a:font_converter_project:font_converter:1.0.0:*:*:*:*:node.js:*:* |
= 1.0.0 | |
| NVD | font_converter_project | font_convertercpe:2.3:a:font_converter_project:font_converter:1.1.0:*:*:*:*:node.js:*:* |
= 1.1.0 | |
| NVD | font_converter_project | font_convertercpe:2.3:a:font_converter_project:font_converter:1.1.1:*:*:*:*:node.js:*:* |
= 1.1.1 | |
| OSV | npm | font-converter | <= 1.1.1 |
References
- https://github.com/zgec/node-js-font-converter/blob/master/index.js%23L12 · Broken Link, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-FONTCONVERTER-2976194 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21165 · ADVISORY
- https://github.com/zgec/node-js-font-converter · PACKAGE
- https://github.com/zgec/node-js-font-converter/blob/master/index.js#L12 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Aug 2022)