CVE-2021-21414
published high CVSS 3.1 · 7.7Command injection vulnerability in @prisma/sdk in getPackedPackage function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| prisma | — | prisma< 2.20.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| prisma | prisma | < 2.20.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 {"CWE-78":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}
References
3Provider assertions
2GitHub_M · cna
Command injection vulnerability in @prisma/sdk in getPackedPackage function
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 03a56b10d737ecbc1648de343f51f493af661dd4c311db7d0a56b5edc8f612d4
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record