FlawAtlas
Search the atlas
CVE-2025-24354 Moderate

imgproxy is vulnerable to SSRF against 0.0.0.0 in github.com/imgproxy/imgproxy

imgproxy is vulnerable to SSRF against 0.0.0.0 in github.com/imgproxy/imgproxy

Exploit probability 0.9%
Published January 28, 2025
Required by Not available
Last source change March 3, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

120 explicit affected versions

Go github.com/imgproxy/imgproxy
Go github.com/imgproxy/imgproxy/v2
Go github.com/imgproxy/imgproxy/v3
Go github.com/imgproxy/imgproxy

03 / CONNECTIONS

Connected vulnerabilities

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2025-24354

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.

View original source
Open Source Vulnerabilities GO-2025-3422

imgproxy is vulnerable to SSRF against 0.0.0.0 in github.com/imgproxy/imgproxy

View original source
Open Source Vulnerabilities GHSA-j2hp-6m75-v4j4

### 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](https://github.com/imgproxy/imgproxy/blob/0f37d62fd8326a32c213b30dd52e2319770885d8/security/source.go#L43C1-L47C1)): ``` 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](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.

View original source

05 / REFERENCES

Further evidence