# CVE-2022-21165: Arbitrary Command Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.16%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-29T05:00:17.008Z
- Modified: 2026-06-17T04:25:39.643Z
- Also known as: GHSA-g2c3-vwff-m3xr
- Weaknesses: CWE-77
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- font-converter: before unspecified
- font-converter (npm): up to 1.1.1
- font_converter_project font_converter: 1.0.0; 1.1.0; 1.1.1

## Every score

- snyk: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-FONTCONVERTER-2976194> (exploit, third-party-advisory, web)
- <https://github.com/zgec/node-js-font-converter/blob/master/index.js%23L12> (broken-link, third-party-advisory)
- <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)

## Sources

- CVE List: [CVE-2022-21165](https://www.cve.org/CVERecord?id=CVE-2022-21165), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-g2c3-vwff-m3xr](https://github.com/advisories/GHSA-g2c3-vwff-m3xr), CC-BY-4.0, modified 2024-04-22
- NVD: [CVE-2022-21165](https://nvd.nist.gov/vuln/detail/CVE-2022-21165), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21165 · Whole record: https://cve.day/CVE-2022-21165.json · Rebuilt by cve.day 2026-11-25T22:58:14.517Z
