GitHub Advisory Database
GHSA-9x7h-ggc3-xg47
imgproxy is vulnerable to Server-Side Request Forgery
Details
imgproxy prior to version 3.15.0 is vulnerable to Server-Side Request Forgery (SSRF) due to a lack of sanitization of the imageURL parameter.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/imgproxy/imgproxy/v3 | All versions before 3.15.0 (fixed in 3.15.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-30019
- https://github.com/imgproxy/imgproxy/commit/1a9768a2c682e88820064aa3d9a05ea234ff3cc4
- https://breakandpray.com/cve-2023-30019-ssrf-in-imgproxy
- https://github.com/imgproxy/imgproxy
- https://github.com/imgproxy/imgproxy/blob/ee9e8f0cb101ec22318caffd552a23cc0548d5ce/imagedata/download.go#L142