{"id":"CVE-2025-24354","aliases":["CVE-2025-24354","GHSA-j2hp-6m75-v4j4","GO-2025-3422"],"related":[],"kind":"vulnerability","state":"published","title":"imgproxy is vulnerable to SSRF against 0.0.0.0","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nImgproxy 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.\n\n### Details\n\nimgproxy protects against SSRF against a loopback address with the following check ([source](https://github.com/imgproxy/imgproxy/blob/0f37d62fd8326a32c213b30dd52e2319770885d8/security/source.go#L43C1-L47C1)):\n\n```\nif !config.AllowLoopbackSourceAddresses && ip.IsLoopback() {\n\treturn ErrSourceAddressNotAllowed\n}\n```\n\nThis 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](https://github.com/golang/go/blob/40b3c0e58a0ae8dec4684a009bf3806769e0fc41/src/net/ip.go#L126-L131)) strictly follows the definition of loopback IPs beginning with `127`. `0.0.0.0` is not blocked.","format":"markdown","source":"ghsa"},{"lang":"en","text":"imgproxy is vulnerable to SSRF against 0.0.0.0 in github.com/imgproxy/imgproxy","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-01-27T17:23:58.303Z","modified":"2026-06-17T08:58:37.387Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 3.27.2","status":"affected"}],"vendor":"imgproxy","product":"imgproxy","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.27.2"}],"ecosystem":"Go","package":"github.com/imgproxy/imgproxy","purl":"pkg:golang/github.com/imgproxy/imgproxy","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/imgproxy/imgproxy","purl":"pkg:golang/github.com/imgproxy/imgproxy","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/imgproxy/imgproxy/v2","purl":"pkg:golang/github.com/imgproxy/imgproxy/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.27.2"}],"ecosystem":"Go","package":"github.com/imgproxy/imgproxy/v3","purl":"pkg:golang/github.com/imgproxy/imgproxy/v3","source":"go"}],"references":[{"url":"https://github.com/imgproxy/imgproxy/security/advisories/GHSA-j2hp-6m75-v4j4","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/imgproxy/imgproxy/commit/3d4fed6842aa8930ec224d0ad75b0079b858e081","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24354","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/imgproxy/imgproxy","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-01-27T17:42:31.757Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24354","url":"https://www.cve.org/CVERecord?id=CVE-2025-24354","licence":"CVE Terms of Use","modified":"2025-02-12T20:41:35.745Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j2hp-6m75-v4j4","url":"https://github.com/advisories/GHSA-j2hp-6m75-v4j4","licence":"CC-BY-4.0","modified":"2025-01-28T15:41:48.647Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3422","url":"https://pkg.go.dev/vuln/GO-2025-3422","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:13.178Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24354","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24354","licence":"Public domain","modified":"2026-06-17T08:58:37.387Z"}],"updatedAt":"2026-11-25T22:58:53.619Z","epss":{"score":0.00899,"percentile":0.60701,"date":"2026-12-01T12:00:22.000Z"}}