Live threats

All CVEs / Bam Project

CVE-2021-28027Bam Project Bam

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bam.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
bam_projectbam< 0.1.3

Official sources

References

Links published by the sources. Open them with care.