Cloudreve: Server crash through image decompression/pixel bomb in thumbnail & avatar decoding (DoS)
cloudreve
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/cloudreve/Cloudreve/v4 Go |
|
|
| github.com/cloudreve/Cloudreve/v3 Go |
| No fix yet |
cloudreve
| Product | Affected | Fixed in |
|---|---|---|
| github.com/cloudreve/Cloudreve/v4 Go |
|
|
| github.com/cloudreve/Cloudreve/v3 Go |
| No fix yet |
|
| No fix yet |
Cloudreve is a self-hosted file management and sharing system. Prior to 4.17.0, the built-in thumbnail and avatar image decoders limit compressed file size but do not limit decoded pixel dimensions, allowing an authenticated user to submit a small PNG, JPEG, or GIF that triggers an unbounded allocation and terminates the Cloudreve process through fatal out-of-memory behavior. This issue is fixed in version 4.17.0.
From the CVE record · GitHub_M
Cloudreve’s built-in thumbnail and avatar image decoders limit compressed file size but not decoded pixel dimensions. An authenticated user can submit a small PNG, JPEG, or GIF that causes an unbounded memory allocation and terminates the Cloudreve process.
Operators of Cloudreve before 4.17.0 and users of the affected Go packages github.com/cloudreve/Cloudreve/v4, github.com/cloudreve/Cloudreve/v3, or github.com/cloudreve/Cloudreve should check their deployments.