Rust advisories / odoh-rs
Vulnerability MediumRUSTSEC-2023-0095 · odoh-rs
RUSTSEC-2023-0095: Invalid Slice Split Results in Server Panic
Short answerA security vulnerability in the odoh-rs crate: Invalid Slice Split Results in Server Panic. Medium severity (CVSS 5.9). Fixed in 1.0.2: update to a fixed version.
| Crate | odoh-rs |
|---|---|
| Type | Vulnerability (denial-of-service) |
| Affected versions | Before 1.0.2. |
| Fixed in | 1.0.2 |
| Severity | Medium, CVSS 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2023-08-03 |
| Last changed | 2026-10-12 |
| Also known as | CVE-2023-3766, GHSA-gpcv-p28p-fv2p |
What to do
- See which version you have:
cargo tree -i odoh-rs(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p odoh-rs. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleodoh-rs = "1.0.2") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
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.
Impact
An attacker with knowledge of this vulnerability could 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.
Patches
Users are encouraged to update their odoh-rs's rust crate to v1.0.2.
References
- Package: crates.io/crates/odoh-rs
- Advisory: rustsec.org/advisories/RUSTSEC-2023-0095.html
- Web: github.com/cloudflare/odoh-rs/pull/28
- Web: github.com/cloudflare/odoh-rs/pull/28
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?