Language Servers for AWSのコードレビュー機能に脆弱性、ローカルで任意のコマンドを実行される恐れ
Summary
Language Servers for AWSのコードレビューツールに、OSコマンドインジェクションの脆弱性が見つかりました。ローカルユーザーが開いたワークスペースに細工された内容があると、そのユーザーの権限で任意のコマンドを実行される可能性があります。1.81.0より前が対象で、1.81.0(npm の @aws/lsp-codewhisperer 0.0.130)で修正されています。修正版へ更新し、Amazon Q Developer IDEプラグインの利用者はIDEを再起動してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Language Servers for AWSのコードレビューツールに、OSコマンドインジェクションの脆弱性が見つかりました。ローカルユーザーが開いたワークスペースに細工された内容があると、そのユーザーの権限で任意のコマンドを実行される可能性があります。1.81.0より前が対象で、1.81.0(npm の @aws/lsp-codewhisperer 0.0.130)で修正されています。修正版へ更新し、Amazon Q Developer IDEプラグインの利用者はIDEを再起動してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| AWSlanguage-servers |
< 1.81.0→ 1.81.0 |
1.81.0 |
| AWSaws/lsp-codewhisperer |
≥ 0.0.65, < 0.0.130→ 0.0.130 |
0.0.130 |
Original description The description as published by the source.
Improper neutralization of special elements used in an OS command in the code review tool in Language Servers for AWS before 1.81.0 might allow context-dependent actors to execute arbitrary commands with the privileges of the local user via crafted content in a workspace opened by a local user.
This issue was fixed in Language Servers for AWS 1.81.0 (npm @aws/lsp-codewhisperer 0.0.130). To remediate this issue, users should upgrade to Language Servers for AWS 1.81.0 or later (npm @aws/lsp-codewhisperer 0.0.130 or later). Amazon Q Developer IDE plugin users should restart their IDE to receive the latest language server and keep the plugin up to date.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory aws.amazon.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch npmjs.com