Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-21415

7.8 · HIGH
Published Apr 29, 2021 prisma CWE-94 EPSS 2.10% (80th pctl)

Overview

CVE-2021-21415 is a high-severity vulnerability affecting prisma language-tools. It was published on April 29, 2021 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

Prisma VS Code a VSCode extension for Prisma schema files. This is a Remote Code Execution Vulnerability that affects all versions of the Prisma VS Code extension older than 2.20.0. If a custom binary path for the Prisma format binary is set in VS Code Settings, for example by downloading a project that has a .vscode/settings.json file that sets a value for "prismaFmtBinPath". That custom binary is executed when auto-formatting is triggered by VS Code or when validation checks are triggered after each keypress on a *.prisma file. Fixed in versions 2.20.0 and 20.0.27. As a workaround users can either edit or delete the `.vscode/settings.json` file or check if the binary is malicious and delete it.

Remediation

Check the references section for vendor advisories and patches from prisma. Update language-tools to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
prisma language-tools >= 0, < 2.20.0 Affected

Frequently Asked Questions

What is CVE-2021-21415?

CVE-2021-21415 is a high-severity vulnerability affecting prisma language-tools. It was published on April 29, 2021 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-21415?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-21415?

Check the references section for vendor advisories and patches from prisma. Update language-tools to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-21415?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21415 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.