Skip to content
OpenAdvisories
High · 7.7 CVE-2021-21414 EUVD-2021-0856GHSA-pxcc-hj8w-fmm7

Command injection vulnerability in @prisma/sdk in getPackedPackage function

Published Apr 29, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
prisma prisma < 2.20.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @prisma/sdk < 2.20.0 2.20.0 GHSA-pxcc-hj8w-fmm7

References