Out-of-bounds Write Affecting bam package, versions <0.1.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-BAM-1082867
  • published5 Mar 2021
  • disclosed5 Mar 2021
  • creditUnknown

Introduced: 5 Mar 2021

CVE-2021-28027  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade bam to version 0.1.3 or higher.

Overview

bam is a crate that allows to read and write BAM, SAM and BGZIP files.

Affected versions of this package are vulnerable to Out-of-bounds Write during the loading of a bgzip block.

References

CVSS Scores

version 3.1