blurhash
Affected
- introduced
0.0.0-0, fixed0.2.0(semver)
Fixed versions
0.2.0
Fix
- Fixed version
0.2.0cargo update -p blurhash --precise 0.2.0
Advisory
Also known as: CVE-2023-42447, GHSA-cxvp-82cq-57h2
blurhash: panic on parsing crafted blurhash inputs
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:
Patches
The patches were released under version 0.2.0, which may require user intervention because of slight API churn.
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
0.0.0-0, fixed 0.2.0 (semver)0.2.0
0.2.0cargo update -p blurhash --precise 0.2.0Fix 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
Source: RustSec Advisory Database · CC0-1.0