{"id":"CVE-2021-28027","published":"2021-03-05T08:40:52Z","modified":"2024-08-03T21:33:17Z","title":"An issue was discovered in the bam crate before 0.1.3 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01295,"percentile":0.71046,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0027.html","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":14.21}]},"affected":[{"ecosystem":"crates.io","package":"bam","vulnerableRanges":["<0.1.3",">=0.0.0-0, <0.1.3"],"patched":["0.1.3"],"from":["GHSA-cpqj-r29q-chrh","RUSTSEC-2021-0027"],"provenance":"source"}],"summary":{"text":"The flaw is in the bam crate for Rust, in versions before 0.1.3, specifically in the code that loads bgzip blocks. It is an integer underflow that leads to an out-of-bounds write during that loading process. The stated consequence is an out-of-bounds write triggered while a bgzip block is being loaded, meaning an attacker would need to get a crafted bgzip input processed by the affected library.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:44Z"},"euvd":{"id":"EUVD-2022-3606","exploited":false,"provenance":"source"}}