CVE-2021-28027Bam Project Bam
Critical 9.8 No auth needed
Follow: this CVE · Bam Project · Bam Project Bam We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Mar 5, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-191
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Bam.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | bam |
< 0.1.3 |
0.1.3 |
cargo update -p bam --precise 0.1.3 |
| crates.io | bam |
≥ 0.0.0-0 < 0.1.3 |
0.1.3 |
cargo update -p bam --precise 0.1.3 |
Per OSV / GitHub Advisories (GHSA-cpqj-r29q-chrh, RUSTSEC-2021-0027). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bam_project | bam | < 0.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Patch Third Party Advisory