{"api_version":"1","generated_at":"2026-07-23T14:25:27+00:00","cve":"CVE-2022-21165","urls":{"html":"https://cve.report/CVE-2022-21165","api":"https://cve.report/api/cve/CVE-2022-21165.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21165","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21165"},"summary":{"title":"CVE-2022-21165","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-08-29 05:15:00","updated_at":"2023-08-08 14:22:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-FONTCONVERTER-2976194","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Arbitrary Command Injection in font-converter | CVE-2022-21165 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/zgec/node-js-font-converter/blob/master/index.js%23L12","name":"N/A","refsource":"CONFIRM","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://github.com/zgec/node-js-font-converter/blob/master/index.js#L12","name":"MISC:https://github.com/zgec/node-js-font-converter/blob/master/index.js%23L12","refsource":"MITRE","tags":[],"title":"node-js-font-converter/index.js at master · zgec/node-js-font-converter · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21165","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21165","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"OmniTaint","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"21165","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"font_converter_project","cpe5":"font_converter","cpe6":"1.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21165","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"font_converter_project","cpe5":"font_converter","cpe6":"1.1.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21165","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"font_converter_project","cpe5":"font_converter","cpe6":"1.1.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-08-29T05:00:02.360407Z","ID":"CVE-2022-21165","STATE":"PUBLIC","TITLE":"Arbitrary Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"font-converter","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Arbitrary Command Injection"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://security.snyk.io/vuln/SNYK-JS-FONTCONVERTER-2976194","name":"https://security.snyk.io/vuln/SNYK-JS-FONTCONVERTER-2976194"},{"refsource":"MISC","url":"https://github.com/zgec/node-js-font-converter/blob/master/index.js%23L12","name":"https://github.com/zgec/node-js-font-converter/blob/master/index.js%23L12"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},"credit":[{"lang":"eng","value":"OmniTaint"}]},"nvd":{"publishedDate":"2022-08-29 05:15:00","lastModifiedDate":"2023-08-08 14:22:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:font_converter_project:font_converter:1.0.0:*:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:font_converter_project:font_converter:1.1.0:*:*:*:*:node.js:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:font_converter_project:font_converter:1.1.1:*:*:*:*:node.js:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}