{"schema":"threatline.record/2","record":{"id":"GHSA-6g2r-675j-hx59","aliases":["GHSA-6g2r-675j-hx59"],"summary":"xxhash-rust: Safe xxh3 custom-secret API accepts too-short secret in release","details":"I have a minimized safe Rust witness for xxhash-rust 0.8.15.\n\nSafe public route:\n\nxxhash_rust::xxh3::xxh3_64_with_secret(&[0x41], &[])\n\nThe caller-side harness contains no unsafe code. Under release execution, the internal minimum custom-secret length predicate is enforced only by debug_assert!. Release-Miri reports construction of a fixed-width reference beyond the empty secret allocation.\n\nObserved diagnostic:\n\nUndefined Behavior: constructing invalid value of type &[u8; 4]: encountered a dangling reference\n\nLocal repair evidence: handling custom-secret slices shorter than the internal minimum before fixed-width secret reads makes the same safe short-secret harness pass under Linux release-Miri.\n\nLocal artifacts:\n- vulnerable log: artifacts/logs/W-4332_xxhash_rust_short_secret_miri_release_linux_001.log\n- repair log: artifacts/logs/differentials/W-4332_xxhash_rust_local_repair_miri_release_linux_001.log\n- report: artifacts/reports/W-4332_xxhash_rust_short_secret_report.md","categories":["Libraries & packages"],"product":"xxhash-rust","vendor":"","ecosystem":"rust","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-6g2r-675j-hx59","source_modified_at":"2026-10-02T18:29:16Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"rust","name":"xxhash-rust"},"range":"< 0.8.16"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-6g2r-675j-hx59","source_modified_at":"2026-10-02T18:45:04.881140605Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"xxhash-rust","ecosystem":"crates.io","purl":"pkg:cargo/xxhash-rust"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.16"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-6g2r-675j-hx59","source_modified_at":"2026-10-02T18:29:16Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"rust","name":"xxhash-rust"},"version":"0.8.16"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-6g2r-675j-hx59","source_modified_at":"2026-10-02T18:45:04.881140605Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"xxhash-rust","ecosystem":"crates.io","purl":"pkg:cargo/xxhash-rust"},"version":"0.8.16"}],"cvss":2.3,"severity":"Low","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-02T18:29:13Z","modified_at":"2026-10-02T18:45:04.881140605Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-6g2r-675j-hx59","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-02T18:29:16Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-6g2r-675j-hx59","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-02T18:45:04.881140605Z"}],"sources":["GitHub Advisory Database","OSV"],"references":[{"url":"https://github.com/DoumanAsh/xxhash-rust/security/advisories/GHSA-6g2r-675j-hx59","source":"GitHub Advisory Database"},{"url":"https://github.com/DoumanAsh/xxhash-rust/commit/200cadb1a442c7f6cd9747e7d4297379b6b74200","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-6g2r-675j-hx59","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-02T18:45:04.881140605Z","content_hash":"56cf66f8109a0ee22f65ed9ab55de043cb0f0f071326aefb4fb5f2ab5a6f201c"}}
