[high] SSRF via cover_url #6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: high
Affects: main (also present on jtk/ebook-management)
Files: lib/fuzzy_catalog/storage.ex:241-243 (download_image), same call sites as above.
Req.get any user-supplied URL: localhost, 169.254.169.254, LAN admin panels; follows redirects; no body-size cap or timeout. The result is stored and served publicly if the response looks like an image.
Fix: http/https only; resolve host and reject loopback/private/link-local/ULA; redirect: false (or recheck each hop); receive_timeout; cap body size (e.g. 10 MB). Log status/host/duration.
Found by Nye's audit, 2026-10-18 (static review of main @
1d89af4and jtk/ebook-management @43a849e).