Security mailing lists by PureSourceCode

CVE-2021-32830

HIGH 7.0CVSS 3.1

Command injection in @diez/generation

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.

Published
17 Aug 2021
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-77CWE-78
Also known as
GHSA-8c3f-x5f9-6h62
Sources
NVDJSONOSV GHSA-8c3f-x5f9-6h62JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.9 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 LOW 3.9 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD haikuforteams diez
cpe:2.3:a:haikuforteams:diez:-:*:*:*:*:node.js:*:*
(no version)
OSV npm @diez/generation <= 10.6.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 Aug 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.