CVE-2021-21414
HIGH 7.2CVSS 3.1Command 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | prisma | prismacpe:2.3:a:prisma:prisma:*:*:*:*:*:node.js:*:* |
< 2.20.0 | 2.20.0 |
| OSV | npm | @prisma/sdk | < 2.20.0 | 2.20.0 |
References
- https://github.com/prisma/prisma/pull/6245 · Patch, Third Party Advisory, WEB
- https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210618-0003/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21414 · ADVISORY
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)