CVE-2021-32830
3.9
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| diez | diez | all | affected |
Weaknesses
- CWE-78: CWE-78 OS Command Injection
ADP Enrichment
CVE Program Container
Additional References
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/
- https://github.com/diez/diez
- https://www.npmjs.com/package/%40diez/generation
References
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/
- https://github.com/diez/diez
- https://www.npmjs.com/package/%40diez/generation
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.