RCE in Prisma
CVE-2021-21414
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.021 (80.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 80.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
- Prisma — versions < 2.20.0
Weakness classification (CWE)
References
- github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7 (Third Party Advisory)
- github.com/prisma/prisma/pull/6245 (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210618-0003/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-21414?
- CVE-2021-21414 is a high-severity vulnerability in Prisma, classified under OS Command Injection. CVSS score: 7.7/10. Published 2021-04-29.
- How severe is CVE-2021-21414?
- High severity. CVSS v3 base score is 7.7 out of 10.