CVE-2021-32830

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:haikuforteams:diez:-:*:*:*:*:node.js:*:*

History

21 Nov 2024, 06:07

Type Values Removed Values Added
References () https://github.com/diez/diez - Third Party Advisory () https://github.com/diez/diez - Third Party Advisory
References () https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/ - Exploit, Third Party Advisory () https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/ - Exploit, Third Party Advisory
References () https://www.npmjs.com/package/%40diez/generation - () https://www.npmjs.com/package/%40diez/generation -
CVSS v2 : 6.8
v3 : 7.0
v2 : 6.8
v3 : 3.9

25 Aug 2021, 02:00

Type Values Removed Values Added
References (MISC) https://github.com/diez/diez - (MISC) https://github.com/diez/diez - Third Party Advisory
References (CONFIRM) https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/ - (CONFIRM) https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/ - Exploit, Third Party Advisory
References (MISC) https://www.npmjs.com/package/@diez/generation - (MISC) https://www.npmjs.com/package/@diez/generation - Product, Third Party Advisory
CPE cpe:2.3:a:haikuforteams:diez:-:*:*:*:*:node.js:*:*
CWE CWE-77
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 7.0

17 Aug 2021, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-17 18:15

Updated : 2024-11-21 06:07


NVD link : CVE-2021-32830

Mitre link : CVE-2021-32830

CVE.ORG link : CVE-2021-32830


JSON object : View

Products Affected

haikuforteams

  • diez
CWE
CWE-78

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

CWE-77

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