CVE-2021-32830

HIGHCVSS 7/10EPSS 1.92%

Last modified

CVE-2021-32830 is a high-severity vulnerability rated 7/10 on the CVSS scale. The @diez/generation npm package is a client for Diez. The locateFont method of @diez/generation has a command injection vulnerability. EPSS estimates a 1.92% chance of exploitation in the next 30 days.

Description

The @diez/generation npm package is a client for Diez. The locateFont method of @diez/generation has a command injection vulnerability. Clients of the @diez/generation library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. All versions of this package are vulnerable as of the writing of this CVE.

Metrics

CVSS 3.1
7/10

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

EPSS Probability
1.92%

77.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
HaikuforteamsDiezAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-32830?
The @diez/generation npm package is a client for Diez. The locateFont method of @diez/generation has a command injection vulnerability. Clients of the @diez/generation library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. All versions of this package are vulnerable as of the writing of this CVE.
How severe is CVE-2021-32830?
CVE-2021-32830 has a CVSS score of 7/10 (HIGH severity). The EPSS model estimates a 1.92% probability of exploitation in the next 30 days.
How do I fix CVE-2021-32830?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-32830?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST