CVE-2023-3766 Invalid Slice Split Results in Server Panic
Attackers can crash ODOH servers by sending specially crafted encrypted queries, causing service disruption for users relying on this Rust library.
- 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-3766?
CVE-2023-3766 is a medium-severity denial of service vulnerability in Cloudflare odoh-rs, published on 3 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was discovered in the odoh-rs rust crate that stems from faulty logic during the parsing of encrypted queries. This issue specifically occurs when processing encrypted query data received from remote clients and enables an attacker with knowledge of this vulnerability to craft and send specially designed encrypted queries to targeted ODOH servers running with odoh-rs. Upon successful exploitation, the server will crash abruptly, disrupting its normal operation and rendering the service temporarily unavailable.
Weakness: CWE-120
Which versions are affected by CVE-2023-3766?
3 open source packages ship an affected version, including odoh-rs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
odoh-rs crates.io | All versions | 1.0.2 |
odoh-rs crates.io | All versions | 1.0.2 |
odoh-rs crates.io | From 0.0.0-0 | 1.0.2 |
Products include Cloudflare Odoh-Rs.
How do I fix CVE-2023-3766?
Upgrade odoh-rs to 1.0.2 or later.
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-3766 being exploited?
There is no known exploitation of CVE-2023-3766 in the wild and no public exploit code.
Sources
Also known as GHSA-gpcv-p28p-fv2p, RUSTSEC-2023-0095.