What’s Vulnerable › Vulnerabilities
CVE-2021-32830
- Severity: high (CVSS 7.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-08-17 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- diez: all versions
References
- https://github.com/diez/diez
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/
- https://www.npmjs.com/package/%40diez/generation
- https://github.com/diez/diez
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/
- https://www.npmjs.com/package/%40diez/generation
Get alerted when CVE-2021-32830 or the next vulnerability affects your stack