製品・ソフトウェアに関する情報
Prisma VS Code エクステンションにおけるコードインジェクションの脆弱性
Title Prisma VS Code エクステンションにおけるコードインジェクションの脆弱性
Summary

Prisma VS Code エクステンションには、コードインジェクションの脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 31, 2021, midnight
Registration Date Jan. 4, 2022, 3 p.m.
Last Update Jan. 4, 2022, 3 p.m.
CVSS3.0 : 重要
Score 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS2.0 : 警告
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Affected System
Prisma
Prisma language-tools 2.20.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2022年01月04日]
  掲載
Jan. 4, 2022, 3 p.m.

NVD Vulnerability Information
CVE-2021-21415
Summary

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.

Publication Date April 30, 2021, 2:15 a.m.
Registration Date April 30, 2021, 10:03 a.m.
Last Update Nov. 21, 2024, 2:48 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:prisma:language-tools:*:*:*:*:*:visual_studio_code:*:* 2.20.0
Related information, measures and tools
Common Vulnerabilities List