GHSA-37jj-wp7g-7wj4

Suggest an improvement
Source
https://github.com/advisories/GHSA-37jj-wp7g-7wj4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-37jj-wp7g-7wj4/GHSA-37jj-wp7g-7wj4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-37jj-wp7g-7wj4
Aliases
Published
2021-08-25T20:53:12Z
Modified
2023-11-08T04:05:20.783188Z
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
Read of uninitialized memory in cdr
Details

An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2021-08-19T17:53:09Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-908"
    ]
}
References

Affected packages

crates.io / cdr

Package

Affected ranges

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