low3.9
CVE-2021-32830
Command injection in @diez/generation
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @diez/generation | <= 10.6.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Haikuforteams | Diez | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-8c3f-x5f9-6h62
- https://nvd.nist.gov/vuln/detail/CVE-2021-32830
- https://www.npmjs.com/package/@diez/generation