CVE-2022-21165 Arbitrary Command Injection

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via unsanitized input in the font-converter npm library, potentially compromising the host system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-21165?

CVE-2022-21165 is a critical command injection vulnerability in font-converter, published on 29 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2022-21165?

2 open source packages ship an affected version, including font-converter. It affects 1 product.

PackageAffectedFixed in
font-converter npmAll versions to 1.1.1None
font-converter npmAll versions to 1.1.1None

Products include Font Converter Project Font Converter.

How do I fix CVE-2022-21165?

No fix has been published for CVE-2022-21165 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-21165 being exploited?

There is no known exploitation of CVE-2022-21165 in the wild and no public exploit code.

Sources

Also known as GHSA-g2c3-vwff-m3xr.

Is CVE-2022-21165 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free