CVE-2021-32830

CVSS V2 Medium 6.8 CVSS V3 High 7
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.
Overview
  • CVE ID
  • CVE-2021-32830
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-08-17T18:15:07
  • Last Modified Date
  • 2021-08-25T02:00:12
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:haikuforteams:diez:-:*:*:*:*:node.js:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 6.8
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Attack Vector
  • LOCAL
  • Attack Compatibility
  • HIGH
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 7
  • Base Severity
  • HIGH
  • Exploitability Score
  • 1
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://securitylab.github.com/advisories/GHSL-2021-061-diez-generation-cmd-injection/ Exploit Third Party Advisory
https://www.npmjs.com/package/@diez/generation Product Third Party Advisory
https://github.com/diez/diez Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 06:56:04 Added to TrackCVE
2022-12-05 08:23:39 2021-08-17T18:15Z 2021-08-17T18:15:07 CVE Published Date updated
2022-12-05 08:23:39 2021-08-25T02:00:12 CVE Modified Date updated
2022-12-05 08:23:39 Analyzed Vulnerability Status updated