5.3medium
imgproxy is vulnerable to SSRF against 0.0.0.0
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.90% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j2hp-6m75-v4j4GO-2025-3422
Description
imgproxy is server for resizing, processing, and converting images. Imgproxy does not block the 0.0.0.0 address, even with IMGPROXY_ALLOW_LOOPBACK_SOURCE_ADDRESSES set to false. This can expose services on the local host. This vulnerability is fixed in 3.27.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| imgproxy imgproxy | < 3.27.2 | CVE List |
| github.com/imgproxy/imgproxy (Go) | before 3.27.2, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/imgproxy/imgproxy/v2 (Go) | all versions | Go Vulnerability Database |
| github.com/imgproxy/imgproxy/v3 (Go) | before 3.27.2 | Go Vulnerability Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
imgproxy is server for resizing, processing, and converting images. Imgproxy does not block the 0.0.0.0 address, even with IMGPROXY_ALLOW_LOOPBACK_SOURCE_ADDRESSES set to false. This can expose services on the local host. This vulnerability is fixed in 3.27.2.
GitHub Advisory Database
Summary
Imgproxy does not block the 0.0.0.0 address, even with IMGPROXY_ALLOW_LOOPBACK_SOURCE_ADDRESSES set to false. This can expose services on the local host.
Details
imgproxy protects against SSRF against a loopback address with the following check (source):
if !config.AllowLoopbackSourceAddresses && ip.IsLoopback() {
return ErrSourceAddressNotAllowed
}
This check is insufficient to prevent accessing services on the local host, as services may receive traffic on 0.0.0.0. Go's IsLoopback (source) strictly follows the definition of loopback IPs beginning with 127. 0.0.0.0 is not blocked.
Go Vulnerability Database
imgproxy is vulnerable to SSRF against 0.0.0.0 in github.com/imgproxy/imgproxy
NVD (es)
imgproxy es un servidor para redimensionar, procesar y convertir imágenes. Imgproxy no bloquea la dirección 0.0.0.0, incluso si IMGPROXY_ALLOW_LOOPBACK_SOURCE_ADDRESSES está configurado como falso. Esto puede exponer los servicios en el host local. Esta vulnerabilidad se corrigió en 3.27.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-24354 changed 2025-02-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j2hp-6m75-v4j4 changed 2025-01-28 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3422 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-24354 changed 2026-06-17 | Public domain |