OS command injection in diez
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| diez | diez | all | — | No fix listed | CNA |
| — | @diez/generation (npm) | up to 10.6.0 | — | No fix listed | GHSA-8c3f-x5f9-6h62 |
- diez Vendordiez Affected all Fixed in — No fix listed CNA
- @diez/generation (npm) Vendor— Affected up to 10.6.0 Fixed in — No fix listed GHSA-8c3f-x5f9-6h62
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:haikuforteams:diez:-:*:*:*:*:node.js:*:* | not specified by NVD | Vulnerable | Haikuforteams |
- cpe:2.3:a:haikuforteams:diez:-:*:*:*:*:node.js:*:* Versions not specified by NVD Vulnerable ·Haikuforteams
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-32830
- 2026-10-03 Alias added: GHSA-8c3f-x5f9-6h62
References
Advisory 3
Sources
- CVE-2021-32830 · CVE Program
- CVE-2021-32830 · NVD
- FIRST EPSS
- GHSA-8c3f-x5f9-6h62 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences