{"id":"CVE-2023-42447","published":"2023-09-19T14:57:16Z","modified":"2024-09-24T18:56:15Z","title":"blurhash panics on parsing crafted inputs","vendor":"whisperfish","product":"blurhash-rs","tier":"tail","description":{"text":"blurhash-rs is a pure Rust implementation of Blurhash, software for encoding images into ASCII strings that can be turned into a gradient of colors representing the original image. In version 0.1.1, the blurhash parsing code may panic due to multiple panic-guarded out-of-bounds accesses on untrusted input. In a typical deployment, this may get triggered by feeding a maliciously crafted blurhashes over the network. These may include UTF-8 compliant strings containing multi-byte UTF-8 characters. A patch is available in version 0.2.0, which requires user intervention because of slight API churn. No known workarounds are available.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00624,"percentile":0.5084,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-392","name":"Missing Report of Error Condition"},{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"references":[{"url":"https://github.com/whisperfish/blurhash-rs/security/advisories/GHSA-cxvp-82cq-57h2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.17},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"whisperfish","affectedVersions":[{"vendor":"whisperfish","product":"blurhash-rs","versions":["= 0.1.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-24T18:48:49.696757Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"blurhash","vulnerableRanges":[">=0.1.1, <0.2.0",">=0.0.0-0, <0.2.0"],"patched":["0.2.0"],"from":["GHSA-cxvp-82cq-57h2","RUSTSEC-2023-0083"],"provenance":"source"}],"summary":{"text":"blurhash-rs, the pure Rust Blurhash implementation from the Whisperfish project, has a flaw in its blurhash parsing code, which can panic on out-of-bounds accesses when handling untrusted input, including UTF-8 strings with multi-byte characters. An attacker who can supply a crafted blurhash over the network can trigger the panic with no authentication or user interaction, causing a denial of service in typical deployments.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:06Z"},"euvd":{"id":"EUVD-2023-2491","exploited":false,"provenance":"source"}}