cve/2021/CVE-2021-32830.md

18 lines
1010 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-32830](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32830)
![](https://img.shields.io/static/v1?label=Product&message=diez&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-78%20OS%20Command%20Injection&color=brighgreen)
### 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.
### POC
#### Reference
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/
#### Github
No PoCs found on GitHub currently.