CVE-2023-3766: Odoh rs Odoh-rs's Invalid Slice Split Results Vulnerability
MODERATECVE-2023-3766 is a MODERATE (CVSS 5.9) odoh-rs's invalid slice split results vulnerability (CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')) affecting Odoh rs libraries in the crates.io ecosystem. The issue involves odoh-rs's invalid slice split results in server panic. Remediation is available by upgrading affected packages to version 1.0.2.
CVE-2023-3766 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-3766
To remediate this vulnerability, upgrade all affected Odoh rs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade odoh-rs to 1.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for odoh-rs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-3766, inspect your project dependencies for Odoh rs:
inspect dependencies for odoh-rs
Analyze the terminal output to locate any version of Odoh rs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'), where the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. In Odoh rs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-3766 Affected Odoh rs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
odoh-rs
|
crates.io |
< 1.0.2
|
1.0.2
|
References
Frequently Asked Questions
What is CVE-2023-3766?
Which Odoh rs versions are affected?
What version fixes CVE-2023-3766?
Is odoh-rs affected?
What is the CVSS score of CVE-2023-3766?
What CWE is associated with CVE-2023-3766?
How can I check crates.io dependencies for CVE-2023-3766?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gpcv-p28p-fv2p",
"modified" : "2025-12-22T21:33:35Z",
"published" : "2023-08-03T16:35:20Z",
"aliases" : [ "CVE-2023-3766" ],
"summary" : "odoh-rs's Invalid Slice Split Results in Server Panic",
"details" : "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.\n\n### Impact\nAn 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.\n\n### Patches\nUsers are encouraged to update their odoh-rs's rust crate to v1.0.2.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "odoh-rs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cloudflare/odoh-rs/security/advisories/GHSA-gpcv-p28p-fv2p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-3766"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudflare/odoh-rs/pull/28"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudflare/odoh-rs/commit/c1bc4ed71dcc9842b7dc1ea26f278f105074bbaa"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cloudflare/odoh-rs"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2023-0095.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-120" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-03T16:35:20Z",
"nvd_published_at" : "2023-08-03T15:15:32Z"
}
}