CVE-2023-3782 Denial of service in squareup:okhttp-brotli

Medium 5.9 Published Updated

An attacker can cause a denial of service in OkHttp clients using BrotliInterceptor by serving malicious compressed data or via Man-in-the-Middle attacks.

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-3782?

CVE-2023-3782 is a medium-severity denial of service vulnerability in squareup:okhttp-brotli, published on 19 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

DoS of the OkHttp client when using a BrotliInterceptor and surfing to a malicious web server, or when an attacker can perform MitM to inject a Brotli zip-bomb into an HTTP response

Weakness: CWE-400

Which versions are affected by CVE-2023-3782?

It affects 1 product.

Products include Squareup Okhttp-Brotli.

How do I fix CVE-2023-3782?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-3782 being exploited?

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

Sources

Also known as CLSA-2026-1787931895, GHSA-w28c-cgxf-w8gv.

Is CVE-2023-3782 in your software?

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

Check your SBOMs for free