CVE-2021-21414
Command injection vulnerability in @prisma/sdk in getPackedPackage function
- State
- Published
- Severity
- 7.7 High
- Published
- Apr 29, 2021
- Updated
- Aug 3, 2024
- Reserved
- Dec 22, 2020
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.7 High | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N | GitHub_M |
Weaknesses
- CWE-78 {"CWE-78":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}
Affected Products
| Product | Versions |
|---|---|
prismaprisma |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.