sqls-serverに任意のコマンドを実行される脆弱性
Summary
2025年10月に公表された、sqls-server/sqls 0.2.28のconfigコマンドにおけるコマンドインジェクションの脆弱性です。openEditor関数がEDITOR環境変数と設定ファイルのパスを無害化せずにsh -cへ渡すため、攻撃者が任意のコマンドを実行できるおそれがあります。CVSSは7.5(High)です。修正版の情報は確認できていないため、最新の情報を確認してください。
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.
2025年10月に公表された、sqls-server/sqls 0.2.28のconfigコマンドにおけるコマンドインジェクションの脆弱性です。openEditor関数がEDITOR環境変数と設定ファイルのパスを無害化せずにsh -cへ渡すため、攻撃者が任意のコマンドを実行できるおそれがあります。CVSSは7.5(High)です。修正版の情報は確認できていないため、最新の情報を確認してください。
Original description The description as published by the source.
sqls-server/sqls 0.2.28 is vulnerable to command injection in the config command because the openEditor function passes the EDITOR environment variable and config file path to sh -c without sanitization, allowing attackers to execute arbitrary commands.
Source: NIST National Vulnerability Database NVD
References
- web cve@mitre.org
- web cve@mitre.org
- web cve@mitre.org