CVE-2021-21414CWE-78

Command injection vulnerability in @prisma/sdk in getPackedPackage function

High · published April 29, 2021

CVSS v3.1
7.7
EPSS
2%
Percentile
81.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.02073 · 81.3th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2021-04-29T00:45Z
EPSS history
Timeline
  • 29 APR 00:45Z
    Command injection vulnerability in @prisma/sdk in getPackedPackage function
    cvelistv5