RCE in Diez
CVE-2021-32830
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.
EPSS exploit prediction
EPSS: 0.019 (79.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
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
Frequently asked questions
- What is CVE-2021-32830?
- CVE-2021-32830 is a low-severity vulnerability in Diez, classified under OS Command Injection. CVSS score: 3.9/10. Published 2021-08-17.
- How severe is CVE-2021-32830?
- Low severity. CVSS v3 base score is 3.9 out of 10.