Music Assistantで認証済みユーザーによる遠隔からのコード実行の脆弱性
Summary
Music Assistantの2.8.0より前のバージョンには、認証済みのユーザーなら役割を問わず、サーバーのプロセス権限で任意のPythonコードを実行できる脆弱性があります。影響は設定情報や秘密情報の漏えい、ライブラリデータの改ざん、アプリケーションコンテナの乗っ取りに及ぶおそれがあります。修正版の2.8.0で対処されているため、2.8.0以降へ更新してください。
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.
Music Assistantの2.8.0より前のバージョンには、認証済みのユーザーなら役割を問わず、サーバーのプロセス権限で任意のPythonコードを実行できる脆弱性があります。影響は設定情報や秘密情報の漏えい、ライブラリデータの改ざん、アプリケーションコンテナの乗っ取りに及ぶおそれがあります。修正版の2.8.0で対処されているため、2.8.0以降へ更新してください。
Original description The description as published by the source.
Music Assistant is an open-source media library manager that integrates streaming services with connected speakers. Prior to 2.8.0, parse_arguments() passes the caller-controlled return_type parameter for config/core/get_value, config/providers/get_value, and config/players/get_value to parse_value() and Python eval() when resolving type parameters in music_assistant/helpers/api.py. Any authenticated user, regardless of role, can reach these commands through the WebSocket /ws endpoint or the REST JSON-RPC /api endpoint, causing arbitrary Python code to run with the Music Assistant server process privileges before command-handler validation, even if the request later fails. A default installation requires no special configuration, and compromise can expose secrets and configuration, alter library data, and control the application container. This issue is fixed in version 2.8.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- web github.com