CVE-2021-32830
HIGH 7.0EPSS 1.9%
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
- diez
- CVSS v3.1 NVD
- 7.0 HIGH
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS v3.1 GITHUB
- 3.9 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS v2.0 NVD
- 6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P - EPSS
- 1.92% chance of exploitation in the next 30 days, 80th percentile
- Published
- 2021-08-17
- Updated
- 2024-08-03
Proof-of-concept exploits (1)
Security advisories
- diez/diez
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection
- advisories/GHSA-8c3f-x5f9-6h62