Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-21414

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-21414
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:05 UTC · Revision 1

Source evidence

CVE-2021-21414

core-osv · Original source

Published 29 Apr 2021, 01:15 UTC

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.

osv:CVE-2021-21414
Complete source record
{
  "id": "b7d8c6dbe78494923be5199a634de7a2ec842013d79f4876888c643018ee9f9e",
  "url": "https://osv.dev/vulnerability/CVE-2021-21414",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-21414",
    "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.",
    "evidence": "osv:CVE-2021-21414",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-21414",
      "aliases": [
        "CVE-2021-21414",
        "GHSA-pxcc-hj8w-fmm7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/prisma/orm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f4a33087a431bb94c3996adecffb6d1176f419b5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:prisma:prisma:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.20.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.19.0",
            "2.18.0",
            "2.17.0",
            "2.16.1",
            "2.16.0",
            "2.15.0",
            "2.14.0",
            "2.13.1",
            "2.13.0",
            "2.12.1",
            "2.12.0",
            "2.11.0",
            "2.10.1",
            "2.10.0",
            "2.9.0",
            "2.8.1",
            "2.8.0",
            "2.7.1",
            "2.7.0",
            "2.6.0",
            "2.5.0",
            "2.4.1",
            "2.4.0",
            "2.3.0",
            "2.2.0",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.1",
            "2.0.0",
            "2.0.0-beta.9",
            "2.0.0-beta.8",
            "2.0.0-beta.7",
            "2.0.0-beta.6",
            "2.0.0-beta.4",
            "2.0.0-beta.3",
            "2.0.0-beta.1",
            "2.0.0-preview025",
            "2.0.0-preview024",
            "2.0.0-preview023",
            "2.0.0-preview022",
            "2.0.0-preview021",
            "2.0.0-preview020.3",
            "2.0.0-preview020.2",
            "2.0.0-preview020.1",
            "2.0.0-preview020",
            "2.0.0-preview019",
            "2.0.0-preview018.2",
            "2.0.0-preview018.1",
            "2.0.0-preview018",
            "2.0.0-preview017.2",
            "2.0.0-preview017.1",
            "2.0.0-preview017",
            "2.0.0-preview016.2",
            "2.0.0-preview016.1",
            "2.0.0-preview016",
            "2.0.0-preview014.1",
            "2.0.0-preview014",
            "2.0.0-preview-13.2",
            "2.0.0-preview-13.1",
            "2.0.0-preview-13",
            "2.0.0-preview-12",
            "2.0.0-preview-11",
            "2.0.0-preview-10",
            "2.0.0-preview-9.1",
            "2.0.0-preview-9",
            "2.0.0-preview-8",
            "2.0.0-preview-7",
            "2.0.0-preview-6.1",
            "2.0.0-preview-6",
            "2.0.0-preview-3.2",
            "2.0.0-preview-3.1",
            "2.0.0-preview-3",
            "2.0.0-preview-2",
            "2.0.0-preview-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21414.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:48.525185401Z",
      "provider": "osv",
      "references": [
        "https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7",
        "https://security.netapp.com/advisory/ntap-20210618-0003/",
        "https://github.com/prisma/prisma/pull/6245"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-21414",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387080,
  "published_at": "2021-04-29T01:15:07.93+00:00"
}