Vulnerability Details : CVE-2023-42447
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.
Vulnerability category: Input validation
Products affected by CVE-2023-42447
- cpe:2.3:a:whisperfish:blurhash-rs:0.1.1:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-42447
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 33 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-42447
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
8.6
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
3.9
|
4.0
|
GitHub, Inc. |
CWE ids for CVE-2023-42447
-
An exception is thrown from a function, but it is not caught.Assigned by: security-advisories@github.com (Secondary)
-
The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.Assigned by: security-advisories@github.com (Secondary)
-
The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2023-42447
-
https://github.com/whisperfish/blurhash-rs/security/advisories/GHSA-cxvp-82cq-57h2
panic on parsing crafted blurhash inputs · Advisory · whisperfish/blurhash-rs · GitHubVendor Advisory
Jump to