Skip to main content
← All vulnerabilities
CVE-2021-21414GHSA-PXCC-HJ8W-FMM7

Command injection vulnerability in @prisma/sdk in getPackedPackage function

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.20.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • prisma prisma

    fixed in 2.20.0

  • @prisma/sdknpm

    fixed in 2.20.0

References 3

GitHub · prisma/prisma

security.netapp.com