CVE-2021-32830
The locateFont method of @diez/generation has a command injection vulnerability.
Does this matter?
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.
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.
- CVSS 3.1
- 7.0 HIGHCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 1.92% probability · 79th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78, CWE-77
- Affected
- haikuforteams/diez
- Source
- security-advisories@github.com
References
- https://github.com/diez/diezThird Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/Exploit, Third Party Advisory
- https://www.npmjs.com/package/%40diez/generation
- https://github.com/diez/diezThird Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/Exploit, Third Party Advisory
- https://www.npmjs.com/package/%40diez/generation
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.