Advisory

GHSA-j8qq-58cr-8cc7

Also known as: CVE-2021-25905, RUSTSEC-2021-0008

Summary

Out of bounds read in bra

Details

Buffered Random Access (BRA) provides easy random memory access to a sequential source of data in Rust. This is achieved by greedily retaining all memory read from a given source. Buffered Random Access (BRA) provides easy random memory access to a sequential source of data in Rust. An issue was discovered in the bra crate before 0.1.1 for Rust. It lacks soundness because it can read uninitialized memory.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:52 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

bra

crates.io · All systems

Affected

  • introduced 0, fixed 0.1.1 (semver)

Fixed versions

0.1.1

Fix

  • Fixed version 0.1.1
    cargo update -p bra --precise 0.1.1

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