GHSA-cpqj-r29q-chrh

Suggest an improvement
Source
https://github.com/advisories/GHSA-cpqj-r29q-chrh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cpqj-r29q-chrh/GHSA-cpqj-r29q-chrh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cpqj-r29q-chrh
Aliases
Published
2022-05-24T17:43:47Z
Modified
2023-11-08T04:05:27.546593Z
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
Loading a bgzip block can write out of bounds if size overflows.
Details

An issue was discovered in the bam crate before 0.1.3 for Rust. There is an integer underflow and out-of-bounds write during the loading of a bgzip block.

Database specific
{
    "nvd_published_at": "2021-03-05T09:15:00Z",
    "github_reviewed_at": "2022-06-16T23:23:31Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-191"
    ]
}
References

Affected packages

crates.io / bam

Package

Affected ranges

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