{"id":"GHSA-8c3f-x5f9-6h62","summary":"Command injection in @diez/generation","details":"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.","aliases":["CVE-2021-32830"],"modified":"2023-11-08T04:06:01.743612Z","published":"2021-09-02T17:08:20Z","database_specific":{"github_reviewed_at":"2021-08-19T20:09:43Z","nvd_published_at":"2021-08-17T18:15:00Z","cwe_ids":["CWE-77","CWE-78"],"severity":"LOW","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32830"},{"type":"PACKAGE","url":"https://github.com/diez/diez"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection"},{"type":"WEB","url":"https://www.npmjs.com/package/@diez/generation"}],"affected":[{"package":{"name":"@diez/generation","ecosystem":"npm","purl":"pkg:npm/%40diez/generation"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"10.6.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-8c3f-x5f9-6h62/GHSA-8c3f-x5f9-6h62.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}