RCE in Prisma
CVE-2021-21414
- CVSS v3
- 7.7 High
- Public exploits
- None known
- EPSS
- 0.021 · 81.9th percentile
- Published
- 2021-04-29
What to do
- Fixed in
2.20.0- Affected
- 1 affected product
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- High
PR:H - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.021, 81.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Prisma — versions < 2.20.0
Weakness classification (CWE)
References
- github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7 (Third Party Advisory)
- github.com/prisma/prisma/pull/6245 (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210618-0003/ (Third Party Advisory)