CVE-2023-42447

Source
https://cve.org/CVERecord?id=CVE-2023-42447
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42447.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-42447
Aliases
Published
2023-09-19T14:57:16.784Z
Modified
2026-03-14T12:18:50.011177Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
blurhash panics on parsing crafted inputs
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-1284",
        "CWE-248",
        "CWE-392"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42447.json"
}
References

Affected packages

Git / github.com/whisperfish/blurhash-rs

Affected ranges

Type
GIT
Repo
https://github.com/whisperfish/blurhash-rs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "= 0.1.1"
        }
    ]
}

Affected versions

v0.*
v0.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42447.json"