Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @prisma/sdk
  4. ›
  5. CVE-2021-21414

CVE-2021-21414: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

April 6, 2021 (updated June 21, 2021)

Prisma is an open source ORM for Node.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.

References

  • github.com/advisories/GHSA-pxcc-hj8w-fmm7
  • github.com/prisma/prisma/pull/6245
  • github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7
  • nvd.nist.gov/vuln/detail/CVE-2021-21414
  • security.netapp.com/advisory/ntap-20210618-0003/

Code Behaviors & Features

Detect and mitigate CVE-2021-21414 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.20.0

Fixed versions

  • 2.20.0

Solution

Upgrade to version 2.20.0 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/@prisma/sdk/CVE-2021-21414.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:33 +0000.