GHSA-ppqp-78xx-3r38

Suggest an improvement
Source
https://github.com/advisories/GHSA-ppqp-78xx-3r38
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-ppqp-78xx-3r38/GHSA-ppqp-78xx-3r38.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ppqp-78xx-3r38
Aliases
Published
2021-08-25T20:53:25Z
Modified
2023-11-08T04:05:22.828925Z
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
Out of bounds write in calamine
Details

An issue was discovered in the calamine crate before 0.17.0 for Rust. It allows attackers to overwrite heap-memory locations because Vec::set_len is used without proper memory claiming, and this uninitialized memory is used for a user-provided Read operation, as demonstrated by Sectors::get.

Database specific
{
    "nvd_published_at": "2021-02-09T23:15:00Z",
    "github_reviewed_at": "2021-08-19T17:35:56Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-787"
    ]
}
References

Affected packages

crates.io / calamine

Package

Affected ranges

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