Описание
Jellysweep uses uncontrolled data in image cache API endpoint
Impact
The /api/images/cache which is used to download media posters from the server accepted an url parameter, which was directly passed to the cache package and that downloaded the poster from this URL.
This URL parameter can be used to make the jellysweep server download arbitrary content.
The API endpoint can only be used by authenticated users.
Patches
Fixed in v0.13.0. The affected (and now fixed) library was also moved to internal/ because it wasn't meant to be imported.
References
https://github.com/jon4hz/jellysweep/security/code-scanning/28
Пакеты
github.com/jon4hz/jellysweep
< 0.13.0
0.13.0
Связанные уязвимости
Jellysweep is a cleanup tool for the Jellyfin media server. In versions 0.12.1 and below, /api/images/cache, used to download media posters from the server, accepted a URL parameter that was directly passed to the cache package, which downloaded the poster from this URL. This URL parameter can be used to make the Jellysweep server download arbitrary content. The API endpoint can only be used by authenticated users. This issue is fixed in version 0.13.0.