Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. blurhash
  4. ›
  5. CVE-2023-42447

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

September 21, 2023

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

References

  • github.com/advisories/GHSA-cxvp-82cq-57h2
  • github.com/whisperfish/blurhash-rs
  • github.com/whisperfish/blurhash-rs/releases/tag/v0.2.0
  • github.com/whisperfish/blurhash-rs/security/advisories/GHSA-cxvp-82cq-57h2
  • nvd.nist.gov/vuln/detail/CVE-2023-42447

Code Behaviors & Features

Detect and mitigate CVE-2023-42447 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.1.1 before 0.2.0, version 0.1.1

Fixed versions

  • 0.2.0

Solution

Upgrade to version 0.2.0 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1284: Improper Validation of Specified Quantity in Input
  • CWE-392: Missing Report of Error Condition

Source file

cargo/blurhash/CVE-2023-42447.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:14 +0000.