Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1jcHFqLXIyOXEtY2hyaM4AAnvq

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

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.

Permalink: https://github.com/advisories/GHSA-cpqj-r29q-chrh
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jcHFqLXIyOXEtY2hyaM4AAnvq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 2 years ago
Updated: over 1 year ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-cpqj-r29q-chrh, CVE-2021-28027
References: Repository: https://gitlab.com/tprodanov/bam
Blast Radius: 6.8

Affected Packages

cargo:bam
Dependent packages: 5
Dependent repositories: 5
Downloads: 14,363 total
Affected Version Ranges: < 0.1.3
Fixed in: 0.1.3
All affected versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.1.0, 0.1.1, 0.1.2
All unaffected versions: 0.1.3, 0.1.4