CVE-2023-30019 imgproxy is vulnerable to Server-Side Request Forgery

Medium 5.3 Published Updated

Attackers can exploit unsanitized image URLs in imgproxy to perform Server-Side Request Forgery, potentially accessing internal resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-30019?

CVE-2023-30019 is a medium-severity server-side request forgery vulnerability in n/a, published on 8 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

imgproxy <=3.14.0 is vulnerable to Server-Side Request Forgery (SSRF) due to a lack of sanitization of the imageURL parameter.

Weakness: CWE-918

Which versions are affected by CVE-2023-30019?

5 open source packages ship an affected version, including github.com/imgproxy/imgproxy/v3, github.com/imgproxy/imgproxy and github.com/imgproxy/imgproxy/v2. It affects 1 product.

PackageAffectedFixed in
github.com/imgproxy/imgproxy/v3 GoAll versions3.15.0
github.com/imgproxy/imgproxy/v3 GoAll versions3.15.0
github.com/imgproxy/imgproxy/v3 GoAll versions3.15.0
github.com/imgproxy/imgproxy GoAll versionsNone
github.com/imgproxy/imgproxy/v2 GoAll versionsNone

Products include Evilmartians Imgproxy.

How do I fix CVE-2023-30019?

Upgrade github.com/imgproxy/imgproxy/v3 to 3.15.0 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2023-30019 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30019 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-9x7h-ggc3-xg47, GO-2023-1761.

Is CVE-2023-30019 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free