RUSTSEC-2023-0083

Source
https://rustsec.org/advisories/RUSTSEC-2023-0083
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0083.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0083
Aliases
Published
2023-09-19T12:00:00Z
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: panic on parsing crafted blurhash 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 were released under version 0.2.0, which may require user intervention because of slight API churn.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / blurhash

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.2.0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "blurhash::decode"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H",
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}