Security: ImageProcessor.processFromUrl() missing download size check #48
Labels
No labels
bug
deferred
documentation
enhancement
feature
infra
integration
marketing
priority:high
priority:low
priority:medium
Pro
security
UX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frank/cookslate#48
Loading…
Add table
Add a link
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?
Direct uploads enforce a 10MB MAX_UPLOAD_SIZE limit, but processFromUrl() downloads images from URLs without checking file size. Could be used to exhaust disk space.
Fix: Add Content-Length check or stream-with-limit when downloading from URL.
Files: api/services/ImageProcessor.php
Tech debt: TD11 | Security audit: related to INP03