{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-32830","id":"CVE-2021-32830","title":"The @diez/generation npm package is a client for Diez","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. ","descriptionLong":"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:00:13.000Z","updated":"2026-06-17T03:53:43.083Z","reserved":"2021-05-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.9,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"low","products":["diez"],"affectedProducts":[{"vendor":"diez","product":"diez","defaultStatus":null,"versions":[{"status":"affected","version":"all"}],"platforms":[]}],"packages":[],"cwes":["CWE-78","CWE-77"],"aliases":[],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://github.com/diez/diez","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://www.npmjs.com/package/%40diez/generation","tags":["x_refsource_MISC","x_transferred"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01923,"epssPercentile":0.80376,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-32830","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32830","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-32830","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32830","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}