Advisory

RUSTSEC-2023-0083

Also known as: CVE-2023-42447, GHSA-cxvp-82cq-57h2

Summary

blurhash: panic on parsing crafted blurhash inputs

Details

Impact
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

Patches
The patches were released under version 0.2.0, which may require user intervention because of slight API churn.

Severity

High Basis: CVSS v3 score 8.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Dates

Published
2023-09-19 12:00 UTC
Modified
2026-10-13 15:15 UTC

Affected packages and fixes

blurhash

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.2.0 (semver)

Fixed versions

0.2.0

Fix

  • Fixed version 0.2.0
    cargo update -p blurhash --precise 0.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences