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)

EPSS: 0.021 (79.5th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.