{"answers":{"affected":"5 open source packages ship an affected version, including github.com/imgproxy/imgproxy, github.com/imgproxy/imgproxy/v2 and github.com/imgproxy/imgproxy/v3.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24354 exists.","fix":"Upgrade github.com/imgproxy/imgproxy to 3.27.2 or later.","what":"CVE-2025-24354 is a medium-severity vulnerability in imgproxy, published on 27 Jan 2025."},"fix_prompt":"Check this codebase for CVE-2025-24354 and fix it if it is affected.\n\nWhat it is: CVE-2025-24354 is a medium-severity vulnerability in imgproxy, published on 27 Jan 2025. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24354 exists.\n\nAffected packages and fixed versions:\n- github.com/imgproxy/imgproxy (Go): affected all versions; no fix listed\n- github.com/imgproxy/imgproxy (Go): affected all versions; fixed in 3.27.2\n- github.com/imgproxy/imgproxy (Go): affected all versions; fixed in 3.27.2\n- github.com/imgproxy/imgproxy/v2 (Go): affected all versions; no fix listed\n- github.com/imgproxy/imgproxy/v3 (Go): affected all versions; fixed in 3.27.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-24354/ (Markdown: https://insights.sbomify.com/CVE-2025-24354/index.md)","id":"CVE-2025-24354","markdown":"https://insights.sbomify.com/CVE-2025-24354/index.md","name":"CVE-2025-24354","record":{"aliases":["GHSA-j2hp-6m75-v4j4","GO-2025-3422"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2025-08-08","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2025-08-08T15:47:52Z","kind":"github_poc","ref":"https://github.com/Admin9961/CVE-2025-24354-PoC","stars":0,"title":"SSRF in ImgProxy (only for educational purpose)"},{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-24354.yaml","stars":null,"title":"Imgproxy \u003c 3.27.2 - Server-Side Request Forgery (SSRF)"}],"tier":"weaponised"},"has_fix":true,"headline":"imgproxy is vulnerable to SSRF against 0.0.0.0","id":"CVE-2025-24354","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2025"},"n_packages":5,"n_references":2,"next":{"headline":"Updatecli may expose Maven credentials in console output","id":"CVE-2025-24355"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy","purl":"pkg:golang/github.com/imgproxy/imgproxy","source":"GO-2025-3422"},{"ecosystem":"Go","fixed":["3.27.2"],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy","purl":null,"source":"GHSA-j2hp-6m75-v4j4"},{"ecosystem":"Go","fixed":["3.27.2"],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy","purl":"pkg:golang/github.com/imgproxy/imgproxy","source":"GHSA-j2hp-6m75-v4j4"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy/v2","purl":"pkg:golang/github.com/imgproxy/imgproxy/v2","source":"GO-2025-3422"},{"ecosystem":"Go","fixed":["3.27.2"],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy/v3","purl":"pkg:golang/github.com/imgproxy/imgproxy/v3","source":"GO-2025-3422"}],"prev":{"headline":"Directus privilege escalation vulnerability using Share feature","id":"CVE-2025-24353"},"products":["imgproxy"],"published":"2025-01-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-12","vendors":["imgproxy"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-24354/"}