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. Learn more

Threat Intelligence

EPSS
1.34% (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 IDSNYK-JS-PRISMASDK-1243749
  • published7 Apr 2021
  • disclosed6 Apr 2021
  • creditErik Krogh Kristensen

Introduced: 6 Apr 2021

CVE-2021-21414  (opens in a new tab)
CWE-77  (opens in a new tab)

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