Description
gonic versions before 0.22.0 fail to validate administrator privileges in the startScan endpoint, allowing any authenticated user to trigger media library rescans. Attackers can repeatedly call the startScan endpoint to force CPU and I/O-intensive filesystem operations, causing denial of service on multi-user instances.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sentriz | gonic | < 0.22.0 | 0.22.0 |
References
- GitHub Security Advisory (GHSA-453r-pgfw-h3pq) vendor-advisory
- ServeStartScan without an admin check technical-description
- /startScan registered on the plain auth chain technical-description
- gonic v0.22.0 Release Notes release-notes
- https://github.com/sentriz/gonic product
- VulnCheck Advisory: gonic before 0.22.0 Missing Administrator Check on the Subsonic startScan Endpoint third-party-advisory