grcov
Affected
- introduced
0, fixed0.8.20(semver)
Fixed versions
0.8.20
Fix
- Fixed version
0.8.20cargo update -p grcov --precise 0.8.20
Advisory
Also known as: RUSTSEC-2025-0005
grcov has an out of bounds write triggered by crafted coverage data
Function grcov::covdir::get_coverage uses the unsafe function get_unchecked_mut without validating that the index is in bounds.
This results in memory corruption, and could potentially allow arbitrary code execution provided that an attacker can feed the tool crafted coverage data.
Medium Basis: The source's own band: MODERATE
0, fixed 0.8.20 (semver)0.8.20
0.8.20cargo update -p grcov --precise 0.8.20Fix 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0