RCE in Diez
CVE-2021-32830
- CVSS v3
- 3.9 Low
- Public exploits
- None known
- EPSS
- 0.019 · 80.3th percentile
- Published
- 2021-08-17
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.9 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Local
AV:L - Attack Complexity
- High
AC:H - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.019, 80.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Diez — versions all
- Haikuforteams Diez
Weakness classification (CWE)
References
- securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/ (Exploit, Third Party Advisory)
- github.com/diez/diez (Third Party Advisory)
- www.npmjs.com/package/@diez/generation