Vulnerability CVE-2021-32830


Published: 2021-08-17

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.

Type:

CWE-77

(Improper Neutralization of Special Elements used in a Command ('Command Injection'))

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.8/10
6.4/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Haikuforteams -> DIEZ 

 References:
https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/
https://www.npmjs.com/package/@diez/generation
https://github.com/diez/diez

Copyright 2024, cxsecurity.com

 

Back to Top