Vulnerability Details : CVE-2021-21414
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.
Vulnerability category: Execute code
Products affected by CVE-2021-21414
- cpe:2.3:a:prisma:prisma:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-21414
1.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 85 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-21414
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST | |
7.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
1.2
|
5.9
|
NIST | |
7.7
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N |
1.3
|
5.8
|
GitHub, Inc. |
CWE ids for CVE-2021-21414
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-21414
-
https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7
Command injection vulnerability in @prisma/sdk in getPackedPackage function · Advisory · prisma/prisma · GitHubThird Party Advisory
-
https://security.netapp.com/advisory/ntap-20210618-0003/
CVE-2021-21414 Node.js Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://github.com/prisma/prisma/pull/6245
fix: escape getPackedPackage shell args by Jolg42 · Pull Request #6245 · prisma/prisma · GitHubPatch;Third Party Advisory
Jump to