{"id":"CVE-2021-32830","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-32830","generatedAt":"2026-10-27T22:32:23.625Z","title":"The locateFont method of @diez/generation has a command injection vulnerability.","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.","published":"2021-08-17T18:15:07.000Z","lastModified":"2026-06-17T03:53:43.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},"cwe":["CWE-78","CWE-77"],"affected":["haikuforteams/diez"],"epss":{"score":0.01923,"percentile":0.79785,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.92%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/diez/diez","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/","tags":["Exploit","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://www.npmjs.com/package/%40diez/generation","source":"security-advisories@github.com"},{"url":"https://github.com/diez/diez","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.npmjs.com/package/%40diez/generation","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32830","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}