Skip to content

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

HighCVSS 7.2 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
prisma < 2.20.0; = < 2.20.0 2.20.0 Fixed
prisma @prisma/sdk(npm) < 2.20.0 2.20.0 Fixed

Affected products

ProductAffected versionsFixed in
prisma @prisma/sdk(npm) < 2.20.0 2.20.0
prisma < 2.20.0 2.20.0
prisma = < 2.20.0 No fix listed

References