bra
Affected
- introduced
0.0.0-0, fixed0.1.1(semver)
Fixed versions
0.1.1
Fix
- Fixed version
0.1.1cargo update -p bra --precise 0.1.1
Advisory
Also known as: CVE-2021-25905, GHSA-j8qq-58cr-8cc7
reading on uninitialized buffer can cause UB (impl<R> BufRead for GreedyAccessReader<R>)
Affected versions of this crate creates an uninitialized buffer and passes it to user-provided Read implementation.
This is unsound, because it allows safe Rust code to exhibit an undefined behavior (read from uninitialized memory).
The flaw was corrected in version 0.1.1 by zero-initializing a newly allocated buffer
before handing it to a user-provided Read implementation.
Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
0.0.0-0, fixed 0.1.1 (semver)0.1.1
0.1.1cargo update -p bra --precise 0.1.1Fix 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
Source: RustSec Advisory Database · CC0-1.0