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-07-15T01:48:56.276077916Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42447.json",
    "cwe_ids": [
        "CWE-1284",
        "CWE-248",
        "CWE-392"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/whisperfish/blurhash-rs

Affected ranges

Type
GIT
Repo
https://github.com/whisperfish/blurhash-rs
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "= 0.1.1"
        },
        {
            "last_affected": "= 0.1.1"
        },
        {
            "introduced": "0.1.1"
        },
        {
            "last_affected": "0.1.1"
        }
    ],
    "cpe": "cpe:2.3:a:whisperfish:blurhash-rs:0.1.1:*:*:*:*:rust:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ]
}

Affected versions

0.*
0.1.1
= 0.*
= 0.1.1
v0.*
v0.1.1

Database specific

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