GHSA-c9h5-hf8r-m97x

Suggest an improvement
Source
https://github.com/advisories/GHSA-c9h5-hf8r-m97x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-c9h5-hf8r-m97x/GHSA-c9h5-hf8r-m97x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c9h5-hf8r-m97x
Aliases
Published
2021-08-25T20:47:36Z
Modified
2023-11-08T04:03:36.276800Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Dangling reference in flatbuffers
Details

An issue was discovered in the flatbuffers crate through 2020-04-11 for Rust. readscalar (and readscalar_at) can transmute values without unsafe blocks.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-704"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:18:24Z"
}
References

Affected packages

crates.io / flatbuffers

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
2.0.0

Ecosystem specific

{
    "affected_functions": [
        "flatbuffers::read_scalar",
        "flatbuffers::read_scalar_at"
    ]
}