What’s Vulnerable › Vulnerabilities

CVE-2021-21414: Command injection vulnerability in @prisma/sdk in getPackedPackage function

Description

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.

Affected products

How to fix

Upgrade to a fixed version: prisma 2.20.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-21414 or the next vulnerability affects your stack