CVE-2021-28027

An issue was discovered in the bam crate before 0.1.3 for Rust

published March 5, 2021

CVSS
—
EPSS
1%
Percentile
70.1
In the wild
Unconfirmed
What it is

⚠️ A sneaky integer underflow could lead to an out-of-bounds write in the bam crate before version 0.1.3! This issue has been lurking around, and while it hasn't seen exploitation yet, it’s definitely worth your attention! Think of this vulnerability like a shipping container that’s been improperly loaded; a hidden flaw in the packing means that when it shifts, it could burst open and spill its contents everywhere. If the right conditions are met, it can cause chaos in your system just like misplaced cargo can cause a shipping disaster. An attacker could exploit this weakness to corrupt memory, which might lead to unpredictable behavior in your application. While the severity is currently unknown, the potential for data loss or crashes shouldn’t be underestimated!

Put simply

Think of this vulnerability like a shipping container that’s been improperly loaded; a hidden flaw in the packing means that when it shifts, it could burst open and spill its contents everywhere. If the right conditions are met, it can cause chaos in your system just like misplaced cargo can cause a shipping disaster. This vulnerability arises from an integer underflow during the loading of a bgzip block in the bam crate, leading to a possible out-of-bounds write that can compromise memory integrity.

What to do

An attacker could exploit this weakness to corrupt memory, which might lead to unpredictable behavior in your application. While the severity is currently unknown, the potential for data loss or crashes shouldn’t be underestimated! To protect your application, ensure you upgrade the bam crate to version 0.1.3 or later. Regularly audit your dependencies and their versions to catch such issues promptly. You’ve got this! Stay proactive with your security practices, and you’ll be on top of it in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01295 · 70.1th percentile
Published
2021-03-05T08:40Z
EPSS history
Timeline
  • 05 MAR 08:40Z
    An issue was discovered in the bam crate before 0.1.3 for Rust
    cvelistv5