{"id":"CVE-2021-32830","published":"2021-08-17T18:00:13Z","modified":"2024-08-03T23:33:55Z","title":"The @diez/generation npm package is a client for Diez","vendor":"diez","product":"diez","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01923,"percentile":0.7985,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/diez/diez","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/%40diez/generation","tags":["x_refsource_MISC"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":15.97},{"name":"CVSS severity","points":2.73}]},"vendorSlug":"diez","affectedVersions":[{"vendor":"diez","product":"diez","versions":["all"]}],"affected":[{"ecosystem":"npm","package":"@diez/generation","vulnerableRanges":["<=10.6.0"],"patched":[],"from":["GHSA-8c3f-x5f9-6h62"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-2015","exploited":false,"provenance":"source"}}