GHSA-cxvp-82cq-57h2

Suggest an improvement
Source
https://github.com/advisories/GHSA-cxvp-82cq-57h2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-cxvp-82cq-57h2/GHSA-cxvp-82cq-57h2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cxvp-82cq-57h2
Aliases
Published
2023-09-21T17:10:22Z
Modified
2024-03-02T17:26:37.115739Z
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

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.

Database specific
{
    "nvd_published_at": "2023-09-19T15:15:57Z",
    "cwe_ids": [
        "CWE-1284",
        "CWE-392"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-09-21T17:10:22Z"
}
References

Affected packages

crates.io / blurhash

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.1.1
Fixed
0.2.0

Affected versions

0.*

0.1.1