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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    1.19% (86th percentile)

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

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

7.2 high