CVE-2024-1765 Unlimited resource allocation by QUIC CRYPTO frames flooding in quiche

Medium 5.9 Published Updated

Remote attackers can cause memory exhaustion and denial of service in Cloudflare Quiche by flooding CRYPTO frames after handshake.

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

What is CVE-2024-1765?

CVE-2024-1765 is a medium-severity denial of service vulnerability in Cloudflare quiche, published on 12 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cloudflare Quiche (through version 0.19.1/0.20.0) was affected by an unlimited resource allocation vulnerability causing rapid increase of memory usage of the system running quiche server or client. A remote attacker could take advantage of this vulnerability by repeatedly sending an unlimited number of 1-RTT CRYPTO frames after previously completing the QUIC handshake. Exploitation was possible for the duration of the connection which could be extended by the attacker.  quiche 0.19.2 and 0.20.1 are the earliest versions containing the fix for this issue.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2024-1765?

4 open source packages ship an affected version, including quiche. It affects 1 product.

PackageAffectedFixed in
quiche crates.ioAll versions0.19.2
quiche crates.ioAll versions0.19.2
quiche crates.ioFrom 0.20.00.20.1
quiche crates.ioFrom 0.20.00.20.1

Products include Cloudflare Quiche.

How do I fix CVE-2024-1765?

Upgrade quiche to a fixed version for your release line: 0.19.2 or 0.20.1.

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-2024-1765 being exploited?

There is no known exploitation of CVE-2024-1765 in the wild and no public exploit code.

Sources

Also known as GHSA-78wx-jg4j-5j6g.

Is CVE-2024-1765 in your software?

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

Check your SBOMs for free