Security mailing lists by PureSourceCode

CVE-2021-21414

HIGH 7.2CVSS 3.1

Command injection vulnerability in @prisma/sdk in getPackedPackage function

Prisma is an open source ORM for Node.js & TypeScript. As of today, we are not aware of any Prisma users or external consumers of the @prisma/sdk package who are affected by this security vulnerability. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. It only affects the getPackedPackage function and this function is not advertised and only used for tests & building our CLI, no malicious code was found after checking our codebase.

Published
29 Apr 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-pxcc-hj8w-fmm7
Sources
NVDJSONOSV GHSA-pxcc-hj8w-fmm7JSON

Scores

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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD prisma prisma
cpe:2.3:a:prisma:prisma:*:*:*:*:*:node.js:*:*
< 2.20.0 2.20.0
OSV npm @prisma/sdk < 2.20.0 2.20.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Apr 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Apr 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.