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.
knowns 0.30.0より前のバージョンでは、プロジェクト設定ファイルの言語サーバー用バイナリの値が検証されません。悪意のある .knowns/config.json を含むリポジトリを開くと、利用者の権限で任意のプログラムが実行される恐れがあります。0.30.0以降に更新してください。
knownsの脆弱性は、settings.lsp.languagesバイナリフィールドの検証を欠いていること。
バージョン0.30.0未満のknownsのプロジェクト設定ファイル。
任意のコード実行が可能になるため、高いリスクがあります。
knownsをバージョン0.30.0にアップデートしてください。
設定ファイルのバイナリフィールドの手動検証。
プロジェクト設定ファイルを確認し、非標準のバイナリパスをチェック。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmknowns |
< 0.30.0→ 0.30.0 |
0.30.0 |
Original description The description as published by the source.
knowns versions before 0.30.0 fail to validate the settings.lsp.languages binary field in project configuration files, allowing attackers to execute arbitrary binaries by crafting a malicious .knowns/config.json file. When a repository with a crafted configuration is opened, the unvalidated binary path is executed twice under the user's account without any verification.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com