CVE-2021-21414 HIGH

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

Vendor Prisma
Product prisma
Weakness CWE-78
Published April 29, 2021
Last update August 3, 2024

CVSS base score

7.7/10
Attack vector Network
Attack complexity High
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 29, 2021 CVE published
August 3, 2024 Record updated