CVE-2021-21414Prisma
High 7.2
Follow: this CVE · Prisma · Prisma We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 82
- Auth required
- Yes
- Published
- Apr 29, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Prisma.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @prisma/sdk |
< 2.20.0 |
2.20.0 |
npm install @prisma/sdk@2.20.0 |
Per OSV / GitHub Advisories (GHSA-pxcc-hj8w-fmm7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| prisma | prisma | < 2.20.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- security.netapp.com Third Party Advisory