CVE-2021-21414 Details
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.
A command injection vulnerability has been identified in the Prisma ORM for Node.js and TypeScript, specifically within the @prisma/sdk package, in versions prior to 2.20.0. The issue resides in the getPackedPackage function, which is not publicly advertised and is only used for testing and building the CLI. While the vulnerability could lead to remote code execution if the function is called with untrusted input, no malicious code was found in the Prisma codebase.
Users can upgrade to @prisma/sdk version 2.20.0 or 2.20.0-dev.29 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/prisma/prisma/pull/6245 | CVE | PatchThird Party Advisory |
| https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7 | CVE | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210618-0003/ | CVE | Third Party Advisory |
| https://github.com/prisma/prisma/pull/6245 | [email protected] | PatchThird Party Advisory |
| https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7 | [email protected] | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210618-0003/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| prisma prisma | < 2.20.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 26, 2022 | Modified Analysis | [email protected] |
| Jun 18, 2021 | CVE Modified | [email protected] |
| May 8, 2021 | Initial Analysis | [email protected] |