2020-12-22 16:02:56 +00:00
{
"CVE_data_meta" : {
2021-04-28 17:41:06 -07:00
"ASSIGNER" : "security-advisories@github.com" ,
2020-12-22 16:02:56 +00:00
"ID" : "CVE-2021-21414" ,
2021-04-28 17:41:06 -07:00
"STATE" : "PUBLIC" ,
"TITLE" : "Command injection vulnerability in @prisma/sdk in getPackedPackage function"
2020-12-22 16:02:56 +00:00
} ,
2021-04-28 17:41:06 -07:00
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "prisma" ,
"version" : {
"version_data" : [
{
"version_value" : "< 2.20.0"
}
]
}
}
]
} ,
"vendor_name" : "prisma"
}
]
}
} ,
"data_format" : "MITRE" ,
"data_type" : "CVE" ,
"data_version" : "4.0" ,
2020-12-22 16:02:56 +00:00
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2021-04-29 01:00:51 +00:00
"value" : "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."
2021-04-28 17:41:06 -07:00
}
]
} ,
"impact" : {
"cvss" : {
"attackComplexity" : "HIGH" ,
"attackVector" : "NETWORK" ,
"availabilityImpact" : "NONE" ,
"baseScore" : 7.7 ,
"baseSeverity" : "HIGH" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
"privilegesRequired" : "HIGH" ,
"scope" : "CHANGED" ,
"userInteraction" : "NONE" ,
"vectorString" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N" ,
"version" : "3.1"
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "{\"CWE-78\":\"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\"}"
}
]
2020-12-22 16:02:56 +00:00
}
]
2021-04-28 17:41:06 -07:00
} ,
"references" : {
"reference_data" : [
{
"name" : "https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7" ,
"refsource" : "CONFIRM" ,
"url" : "https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7"
} ,
{
"name" : "https://github.com/prisma/prisma/pull/6245" ,
"refsource" : "MISC" ,
"url" : "https://github.com/prisma/prisma/pull/6245"
2021-06-18 10:00:51 +00:00
} ,
{
"refsource" : "CONFIRM" ,
"name" : "https://security.netapp.com/advisory/ntap-20210618-0003/" ,
"url" : "https://security.netapp.com/advisory/ntap-20210618-0003/"
2021-04-28 17:41:06 -07:00
}
]
} ,
"source" : {
"advisory" : "GHSA-pxcc-hj8w-fmm7" ,
"discovery" : "UNKNOWN"
2020-12-22 16:02:56 +00:00
}
}