{"answers":{"affected":"3 open source packages ship an affected version, including odoh-rs. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-3766 in the wild and no public exploit code.","fix":"Upgrade odoh-rs to 1.0.2 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2023-3766 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2023-3766 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- odoh-rs (crates.io): affected all versions; fixed in 1.0.2\n- odoh-rs (crates.io): affected all versions; fixed in 1.0.2\n- odoh-rs (crates.io): affected from 0.0.0-0; fixed in 1.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-3766/ (Markdown: https://insights.sbomify.com/CVE-2023-3766/index.md)","id":"CVE-2023-3766","markdown":"https://insights.sbomify.com/CVE-2023-3766/index.md","name":"CVE-2023-3766","record":{"aliases":["GHSA-gpcv-p28p-fv2p","RUSTSEC-2023-0095"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust ODOH library","requires_auth":"none","summary":"Attackers can crash ODOH servers by sending specially crafted encrypted queries, causing service disruption for users relying on this Rust library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cloudflare","cpe":[{"product":"odoh-rs","vendor":"cloudflare"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Invalid Slice Split Results in Server Panic","id":"CVE-2023-3766","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"OS command injection on EasyPHP Webserver","id":"CVE-2023-3767"},"packages":[{"ecosystem":"crates.io","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"odoh-rs","purl":null,"source":"GHSA-gpcv-p28p-fv2p"},{"ecosystem":"crates.io","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"odoh-rs","purl":"pkg:cargo/odoh-rs","source":"GHSA-gpcv-p28p-fv2p"},{"ecosystem":"crates.io","fixed":["1.0.2"],"introduced":["0.0.0-0"],"last_affected":[],"package":"odoh-rs","purl":"pkg:cargo/odoh-rs","source":"RUSTSEC-2023-0095"}],"prev":{"headline":"Absolute Path Traversal in mlflow/mlflow","id":"CVE-2023-3765"},"products":["odoh-rs"],"published":"2023-08-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-09","vendors":["Cloudflare"]},"summary":"Attackers can crash ODOH servers by sending specially crafted encrypted queries, causing service disruption for users relying on this Rust library.","url":"https://insights.sbomify.com/CVE-2023-3766/"}