Description
Grav is a file-based Web platform. Prior to 1.7.53 and 2.0.0-rc.8, Grav allows an unauthenticated visitor to exhaust server memory and CPU by requesting image derivatives with oversized dimensions through URL query image actions such as forceResize in Grav::fallbackUrl, which passes request parameters to ImageMedium magic actions without a dimension or pixel ceiling. This issue is fixed in versions 1.7.53 and 2.0.0-rc.8.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | >= 2.0.0-beta.1, < 2.0.0-rc.8, < 1.7.53 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | getgrav/grav | >= 2.0.0-beta.1, < 2.0.0-rc.8 | 2.0.0-rc.8 | GHSA-4x9g-vw65-vvf9 |
| Packagist | getgrav/grav | < 1.7.53 | 1.7.53 | GHSA-4x9g-vw65-vvf9 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-4x9g-vw65-vvf9
- https://github.com/getgrav/grav/commit/d9f9f0369a07ae5c96cde700c7949e1237b29cf6
- https://github.com/getgrav/grav/commit/f4c0f42eea755cedad6f626b342c88d4cba72174
- https://github.com/getgrav/grav/releases/tag/1.7.53
- https://github.com/getgrav/grav/releases/tag/2.0.0-rc.8