Arbitrary Code Execution Affecting @prisma/sdk package, versions <2.20.0


0.0
high

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    Scope Changed
    Confidentiality High
    Integrity High

    Threat Intelligence

    EPSS 0.84% (82nd percentile)
Expand this section
NVD
7.2 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-PRISMASDK-1243749
  • published 7 Apr 2021
  • disclosed 6 Apr 2021
  • credit Erik Krogh Kristensen

How to fix?

Upgrade @prisma/sdk to version 2.20.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution via the getPackedPackage function. This function is used for tests & building the CLI.

References