CVEvulnerability
CVE-2021-32830
7.0 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-08-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 3.9 LOW — CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 7.0 HIGH — CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-77, 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 configurations
• haikuforteams diez
Related
References
- https://github.com/diez/diez Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/ Exploit, Third Party Advisory
- https://www.npmjs.com/package/%40diez/generation www.npmjs.com
- https://github.com/diez/diez Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/ Exploit, Third Party Advisory
- https://www.npmjs.com/package/%40diez/generation www.npmjs.com