CVE-2021-21414

HIGH

Prisma < 2.20.0 - Remote Code Execution via getPackedPackage Function

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/prisma/prisma/pull/6245
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20210618-0003/

Scores

CVSS v3 7.7
EPSS 0.0207
EPSS Percentile 79.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N

Details

CWE
CWE-78
Status published
Products (2)
prisma/prisma < 2.20.0
prisma/sdk 0 - 2.20.0npm
Published Apr 29, 2021
Tracked Since Feb 18, 2026