CVE-2021-28027 Loading a bgzip block can write out of bounds if size overflows.
CriticalCVSS 9.8
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| bam project bam | < 0.1.3 | 0.1.3 | Fixed |
| crates.io bam(crates.io) | < 0.1.3; >= 0.0.0-0, < 0.1.3 | 0.1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io bam(crates.io) | < 0.1.3 | 0.1.3 |
| crates.io bam(crates.io) | >= 0.0.0-0, < 0.1.3 | 0.1.3 |
| bam project bam | < 0.1.3 | 0.1.3 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- rustsec.org patch third-party-advisory vendor-advisory
- gitlab.com issue-tracking
- github.com
- gitlab.com product
- crates.io product