CVE-2022-21165 json
Arbitrary Command Injection
published 4y ago modified 4mo ago also GHSA-g2c3-vwff-m3xr , EUVD-2022-6555
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2022-21165 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
3.07% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-FONTCONVERTER-2976194 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | font-converter | <=1.1.1 |
no fix listed |
Affected products
- n/a font-converter
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
security.snyk.io
/vuln/SNYK-JS-FONTCONVERTER-2976194
web, exploit, third-party-advisory
-
github.com
/zgec/node-js-font-converter/blob/master/index.js%23L12
broken-link, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21165
advisory
-
github.com
/zgec/node-js-font-converter
package
-
github.com
/zgec/node-js-font-converter/blob/master/index.js#L12
web
Sources
- CVE List CVE-2022-21165
- GitHub Advisory GHSA-g2c3-vwff-m3xr
- NVD CVE-2022-21165
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.