Advisory

GHSA-cxvp-82cq-57h2

Also known as: CVE-2023-42447, RUSTSEC-2023-0083

Summary

blurhash panics on parsing crafted 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 will be released under version 0.2.0, which requires user intervention because of slight API churn.

Workarounds
n.a.

References
n.a.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-09-21 17:10 UTC
Modified
2026-03-16 03:02 UTC

Affected packages and fixes

blurhash

crates.io · All systems

Affected

  • introduced 0.1.1, 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences