{"id":"GHSA-cpqj-r29q-chrh","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.","aliases":["CVE-2021-28027","RUSTSEC-2021-0027"],"modified":"2023-11-08T04:05:27.546593Z","published":"2022-05-24T17:43:47Z","database_specific":{"nvd_published_at":"2021-03-05T09:15:00Z","cwe_ids":["CWE-191"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-06-16T23:23:31Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28027"},{"type":"PACKAGE","url":"https://gitlab.com/tprodanov/bam"},{"type":"WEB","url":"https://gitlab.com/tprodanov/bam/-/issues/4"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0027.html"}],"affected":[{"package":{"name":"bam","ecosystem":"crates.io","purl":"pkg:cargo/bam"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cpqj-r29q-chrh/GHSA-cpqj-r29q-chrh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}