GHSA-jjx5-3f36-6927

Suggest an improvement
Source
https://github.com/advisories/GHSA-jjx5-3f36-6927
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-jjx5-3f36-6927/GHSA-jjx5-3f36-6927.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jjx5-3f36-6927
Aliases
Published
2021-08-25T20:55:47Z
Modified
2023-11-08T04:06:25.737471Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Incorrect buffer size calculation in iced-x86
Details

An issue was discovered in the iced-x86 crate through 1.10.3 for Rust. In Decoder::new(), slice.get_unchecked(slice.length()) is used unsafely.

Database specific
{
    "nvd_published_at": "2021-08-08T06:15:00Z",
    "github_reviewed_at": "2021-08-18T21:31:51Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-131"
    ]
}
References

Affected packages

crates.io / iced-x86

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.0

Ecosystem specific

{
    "affected_functions": [
        "iced_x86::Decoder::new"
    ]
}