GHSA-qm2p-4w45-v2vr – grcov
Package
Manager: cargo
Name: grcov
Vulnerable Version: >=0 <0.8.20
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H/E:F/RL:O/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
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.
Metadata
Created: 2025-02-10T18:07:30Z
Modified: 2025-02-10T18:07:30Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-qm2p-4w45-v2vr/GHSA-qm2p-4w45-v2vr.json
CWE IDs: ["CWE-787"]
Alternative ID: N/A
Finding: F111
Auto approve: 1