Bazarrに任意ファイルの読み書きの脆弱性、修正版あり
Summary
字幕管理ツールBazarrに、APIを通じてメディアライブラリ外のファイルを読み書きされる脆弱性が公表されました。1.6.3-beta.11に更新し、認証を無効にしている環境は公開範囲も見直してください。
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.
字幕管理ツールBazarrに、APIを通じてメディアライブラリ外のファイルを読み書きされる脆弱性が公表されました。1.6.3-beta.11に更新し、認証を無効にしている環境は公開範囲も見直してください。
Original description The description as published by the source.
Bazarr is a companion application to Sonarr and Radarr. Prior to 1.6.3-beta.11, the /api/subtitles/subtitles-info handler uses SubtitleNameContents.get() in subtitles_contents.py and reads the caller-supplied subtitlePath after checking only its subtitle extension; because the resolved path is not confined to files indexed by Bazarr, traversal can read files outside the media library. The /api/subtitles/subtitles handler in subtitles.py passes caller-supplied path and reference to sync and translation without per-path authorization, allowing an out-of-library reference file to be read and output to overwrite a file outside the media library. The authenticate decorator gates both endpoints when API authentication is enabled, while auth = None allows access without credentials. Both paths can affect only files that the Bazarr process can read or write. This issue is fixed in version 1.6.3-beta.11.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com