GHSA-g2c3-vwff-m3xr

    Dashboard / Vulnerabilities / GHSA-g2c3-vwff-m3xr

    GHSA-g2c3-vwff-m3xr

    Published: 29 Aug 2022Last Modified: 22 Apr 2024

    Summary: Font-Converter Vulnerable to Arbitrary Command Injection

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

    Affected packages

    Package

    Name: font-converter

    Purl: pkg:npm/font-converter

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-g2c3-vwff-m3xr | CVE-DB