Advisory

GHSA-cpqj-r29q-chrh

Also known as: CVE-2021-28027, RUSTSEC-2021-0027

Summary

Loading a bgzip block can write out of bounds if size overflows.

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 17:43 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

bam

crates.io · All systems

Affected

  • introduced 0, fixed 0.1.3 (semver)

Fixed versions

0.1.3

Fix

  • Fixed version 0.1.3
    cargo update -p bam --precise 0.1.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences